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
- public OptionalFlag(const char * Representation)
- public void clear()
- public const char * getPosition() const
- public bool isSet() const
- public bool operator bool() const
- public void set()
- public void setPosition(const char * position)
- public const char * toString() const
Methods
¶OptionalFlag(const char* Representation)
OptionalFlag(const char* Representation)
Declared at: clang/include/clang/AST/FormatString.h:35
Parameters
- const char* Representation
¶void clear()
void clear()
Declared at: clang/include/clang/AST/FormatString.h:39
¶const char* getPosition() const
const char* getPosition() const
Declared at: clang/include/clang/AST/FormatString.h:45
¶bool isSet() const
bool isSet() const
Declared at: clang/include/clang/AST/FormatString.h:37
¶bool operator bool() const
bool operator bool() const
Declared at: clang/include/clang/AST/FormatString.h:52
¶void set()
void set()
Declared at: clang/include/clang/AST/FormatString.h:38
¶void setPosition(const char* position)
void setPosition(const char* position)
Declared at: clang/include/clang/AST/FormatString.h:40
Parameters
- const char* position
¶const char* toString() const
const char* toString() const
Declared at: clang/include/clang/AST/FormatString.h:49