|
clang 22.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 , AsAllocate , AsMAllocate , AsWide , AsWideChar = AsLong } |
Public Member Functions | |
| LengthModifier () | |
| LengthModifier (const char *pos, Kind k) | |
| const char * | getStart () const |
| unsigned | getLength () const |
| Kind | getKind () const |
| void | setKind (Kind k) |
| const char * | toString () const |
Represents the length modifier in a format string in scanf/printf.
Definition at line 65 of file FormatString.h.
| Enumerator | |
|---|---|
| None | |
| AsChar | |
| AsShort | |
| AsShortLong | |
| AsLong | |
| AsLongLong | |
| AsQuad | |
| AsIntMax | |
| AsSizeT | |
| AsPtrDiff | |
| AsInt32 | |
| AsInt3264 | |
| AsInt64 | |
| AsLongDouble | |
| AsAllocate | |
| AsMAllocate | |
| AsWide | |
| AsWideChar | |
Definition at line 67 of file FormatString.h.
|
inline |
Definition at line 88 of file FormatString.h.
|
inline |
Definition at line 90 of file FormatString.h.
|
inline |
Definition at line 112 of file FormatString.h.
Referenced by libc_func_matchers::hasUnsafeFormatOrSArg().
|
inline |
Definition at line 97 of file FormatString.h.
|
inline |
Definition at line 93 of file FormatString.h.
|
inline |
Definition at line 113 of file FormatString.h.
| const char * analyze_format_string::LengthModifier::toString | ( | ) | const |
Definition at line 847 of file FormatString.cpp.