clang API Documentation
#include <FormatString.h>
Public Member Functions | |
OptionalFlag (const char *Representation) | |
bool | isSet () |
void | set () |
void | clear () |
void | setPosition (const char *position) |
const char * | getPosition () const |
const char * | toString () const |
LLVM_EXPLICIT | operator bool () const |
OptionalFlag & | operator= (const bool &rhs) |
Class representing optional flags with location and representation information.
Definition at line 34 of file FormatString.h.
clang::analyze_format_string::OptionalFlag::OptionalFlag | ( | const char * | Representation | ) | [inline] |
Definition at line 36 of file FormatString.h.
void clang::analyze_format_string::OptionalFlag::clear | ( | ) | [inline] |
Definition at line 40 of file FormatString.h.
const char* clang::analyze_format_string::OptionalFlag::getPosition | ( | ) | const [inline] |
Definition at line 45 of file FormatString.h.
bool clang::analyze_format_string::OptionalFlag::isSet | ( | ) | [inline] |
Definition at line 38 of file FormatString.h.
LLVM_EXPLICIT clang::analyze_format_string::OptionalFlag::operator bool | ( | ) | const [inline] |
Definition at line 52 of file FormatString.h.
OptionalFlag& clang::analyze_format_string::OptionalFlag::operator= | ( | const bool & | rhs | ) | [inline] |
Definition at line 53 of file FormatString.h.
void clang::analyze_format_string::OptionalFlag::set | ( | ) | [inline] |
Definition at line 39 of file FormatString.h.
void clang::analyze_format_string::OptionalFlag::setPosition | ( | const char * | position | ) | [inline] |
Definition at line 41 of file FormatString.h.
const char* clang::analyze_format_string::OptionalFlag::toString | ( | ) | const [inline] |
Definition at line 49 of file FormatString.h.