|
clang 23.0.0git
|
Represents the length modifier in a format string in scanf/printf. More...
#include "clang/AST/FormatString.h"
Public Types | |
| enum | Kind { None , AsChar , AsShort , AsShortLong , AsLong , AsLongLong , AsQuad , AsIntMax , AsSizeT , AsPtrDiff , AsInt32 , AsInt3264 , AsInt64 , AsLongDouble , AsIntN , AsFastIntN , AsDecimal32 , AsDecimal64 , AsDecimal128 , AsAllocate , AsMAllocate , AsWide , AsWideChar = AsLong } |
Public Member Functions | |
| LengthModifier () | |
| LengthModifier (const char *pos, Kind k) | |
| LengthModifier (const char *pos, Kind k, unsigned bitWidth, unsigned length) | |
| const char * | getStart () const |
| unsigned | getLength () const |
| Kind | getKind () const |
| void | setKind (Kind k) |
| unsigned | getBitWidth () const |
| StringRef | toString () const |
Represents the length modifier in a format string in scanf/printf.
Definition at line 67 of file FormatString.h.
Definition at line 69 of file FormatString.h.
|
inline |
Definition at line 95 of file FormatString.h.
|
inline |
Definition at line 96 of file FormatString.h.
|
inline |
Definition at line 97 of file FormatString.h.
|
inline |
Definition at line 126 of file FormatString.h.
|
inline |
Definition at line 123 of file FormatString.h.
|
inline |
Definition at line 102 of file FormatString.h.
|
inline |
Definition at line 100 of file FormatString.h.
|
inline |
Definition at line 124 of file FormatString.h.
| StringRef analyze_format_string::LengthModifier::toString | ( | ) | const |
Definition at line 959 of file FormatString.cpp.