#include "clang/AST/FormatString.h"
#include "FormatStringParsing.h"
#include "clang/Basic/TargetInfo.h"
ArgType;
FormatStringHandler;
LengthModifier;
OptionalAmount;
ConversionSpecifier;
ScanfConversionSpecifier;
ScanfSpecifier;
UpdateOnReturn;
usingnamespaceclang;
ScanfSpecifierResult;
static bool ParseScanList(FormatStringHandler &H,
ScanfConversionSpecifier &CS,
const char *&Beg, const char *E) { … }
static ScanfSpecifierResult ParseScanfSpecifier(FormatStringHandler &H,
const char *&Beg,
const char *E,
unsigned &argIndex,
const LangOptions &LO,
const TargetInfo &Target) { … }
ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { … }
bool ScanfSpecifier::fixType(QualType QT, QualType RawQT,
const LangOptions &LangOpt,
ASTContext &Ctx) { … }
void ScanfSpecifier::toString(raw_ostream &os) const { … }
bool clang::analyze_format_string::ParseScanfString(FormatStringHandler &H,
const char *I,
const char *E,
const LangOptions &LO,
const TargetInfo &Target) { … }