1 #ifndef LLVM_CLANG_LIB_ANALYSIS_FORMATSTRINGPARSING_H 2 #define LLVM_CLANG_LIB_ANALYSIS_FORMATSTRINGPARSING_H 18 : ValueToUpdate(valueToUpdate), ValueToCopy(valueToCopy) {}
21 ValueToUpdate = ValueToCopy;
25 namespace analyze_format_string {
27 OptionalAmount
ParseAmount(
const char *&Beg,
const char *E);
32 const char *Start,
const char *&Beg,
37 const char *Start,
const char *&Beg,
const char *E,
41 FormatSpecifier &CS,
const char *Start,
42 const char *&Beg,
const char *E);
53 const char *FmtStrEnd,
unsigned &Len);
61 : Start(nullptr), Stop(stop) {}
64 : FS(fs), Start(start), Stop(
false) {}
68 bool hasValue()
const {
return Start !=
nullptr; }
Defines the clang::ASTContext interface.
C Language Family Type Representation.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
Dataflow Directional Tag Classes.
UpdateOnReturn(T &valueToUpdate, const T &valueToCopy)