14#ifndef LLVM_CLANG_LIB_ANALYSIS_FORMATSTRINGPARSING_H
15#define LLVM_CLANG_LIB_ANALYSIS_FORMATSTRINGPARSING_H
31 : ValueToUpdate(valueToUpdate), ValueToCopy(valueToCopy) {}
34 ValueToUpdate = ValueToCopy;
38namespace analyze_format_string {
40OptionalAmount
ParseAmount(
const char *&Beg,
const char *
E);
41OptionalAmount ParseNonPositionAmount(
const char *&Beg,
const char *
E,
45 const char *Start,
const char *&Beg,
50 const char *Start,
const char *&Beg,
const char *
E,
54 FormatSpecifier &CS,
const char *Start,
55 const char *&Beg,
const char *
E);
58 FormatSpecifier &FS,
const char *&Beg,
const char *
E,
59 const LangOptions &LO);
64 const LangOptions &LO,
bool IsScanf =
false);
70 const char *FmtStrEnd,
unsigned &Len);
78 : Start(nullptr), Stop(stop) {}
81 : FS(fs), Start(start), Stop(
false) {}
85 bool hasValue()
const {
return Start !=
nullptr; }
Defines the clang::ASTContext interface.
C Language Family Type Representation.
UpdateOnReturn(T &valueToUpdate, const T &valueToCopy)
The JSON file list parser is used to communicate input to InstallAPI.
const FunctionProtoType * T