class OptionalFlag

Declaration

class OptionalFlag { /* full declaration omitted */ };

Description

Class representing optional flags with location and representation information.

Declared at: clang/include/clang/AST/FormatString.h:33

Member Variables

private const char* representation
private const char* position
private bool flag

Method Overview

Methods

OptionalFlag(const char* Representation)

Declared at: clang/include/clang/AST/FormatString.h:35

Parameters

const char* Representation

void clear()

Declared at: clang/include/clang/AST/FormatString.h:39

const char* getPosition() const

Declared at: clang/include/clang/AST/FormatString.h:45

bool isSet() const

Declared at: clang/include/clang/AST/FormatString.h:37

bool operator bool() const

Declared at: clang/include/clang/AST/FormatString.h:52

void set()

Declared at: clang/include/clang/AST/FormatString.h:38

void setPosition(const char* position)

Declared at: clang/include/clang/AST/FormatString.h:40

Parameters

const char* position

const char* toString() const

Declared at: clang/include/clang/AST/FormatString.h:49