Home
last modified time | relevance | path

Searched refs:PrintfSpecifier (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Analysis/
DPrintfFormatString.cpp24 using clang::analyze_printf::PrintfSpecifier;
28 typedef clang::analyze_format_string::SpecifierResult<PrintfSpecifier>
37 static bool ParsePrecision(FormatStringHandler &H, PrintfSpecifier &FS, in ParsePrecision()
52 static bool ParseObjCFlags(FormatStringHandler &H, PrintfSpecifier &FS, in ParseObjCFlags()
111 PrintfSpecifier FS; in ParsePrintfSpecifier()
378 const analyze_printf::PrintfSpecifier &FS = FSR.getValue(); in ParseFormatStringHasSArg()
390 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, in getArgType()
555 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, in fixType()
727 void PrintfSpecifier::toString(raw_ostream &os) const { in toString()
754 bool PrintfSpecifier::hasValidPlusPrefix() const { in hasValidPlusPrefix()
[all …]
/external/llvm-project/clang/lib/AST/
DPrintfFormatString.cpp25 using clang::analyze_printf::PrintfSpecifier;
29 typedef clang::analyze_format_string::SpecifierResult<PrintfSpecifier>
38 static bool ParsePrecision(FormatStringHandler &H, PrintfSpecifier &FS, in ParsePrecision()
53 static bool ParseObjCFlags(FormatStringHandler &H, PrintfSpecifier &FS, in ParseObjCFlags()
112 PrintfSpecifier FS; in ParsePrintfSpecifier()
459 const analyze_printf::PrintfSpecifier &FS = FSR.getValue(); in ParseFormatStringHasSArg()
488 ArgType PrintfSpecifier::getScalarArgType(ASTContext &Ctx, in getScalarArgType()
667 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, in getArgType()
681 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, in fixType()
901 void PrintfSpecifier::toString(raw_ostream &os) const { in toString()
[all …]
DOSLog.cpp58 bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS, in HandlePrintfSpecifier()
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h432 class PrintfSpecifier : public analyze_format_string::FormatSpecifier {
442 PrintfSpecifier() : in PrintfSpecifier() function
448 static PrintfSpecifier Parse(const char *beg, const char *end);
634 const analyze_printf::PrintfSpecifier &FS, in HandleInvalidPrintfConversionSpecifier()
640 virtual bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS, in HandlePrintfSpecifier()
/external/llvm-project/clang/include/clang/AST/
DFormatString.h500 class PrintfSpecifier : public analyze_format_string::FormatSpecifier {
517 PrintfSpecifier() in PrintfSpecifier() function
524 static PrintfSpecifier Parse(const char *beg, const char *end);
721 const analyze_printf::PrintfSpecifier &FS, in HandleInvalidPrintfConversionSpecifier()
727 virtual bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS, in HandlePrintfSpecifier()
/external/llvm-project/clang/test/FixIt/
Dformat.m239 // PrintfSpecifier::fixType doesn't handle %n, so a fix-it is not emitted,
240 // see the comment in PrintfSpecifier::fixType in PrintfFormatString.cpp.
270 // PrintfSpecifier::fixType doesn't handle %n, so a fix-it is not emitted,
271 // see the comment in PrintfSpecifier::fixType in PrintfFormatString.cpp.
/external/clang/lib/Sema/
DSemaChecking.cpp4601 const analyze_printf::PrintfSpecifier &FS,
4605 bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS,
4608 bool checkFormatExpr(const analyze_printf::PrintfSpecifier &FS,
4615 void HandleInvalidAmount(const analyze_printf::PrintfSpecifier &FS,
4619 void HandleFlag(const analyze_printf::PrintfSpecifier &FS,
4622 void HandleIgnoredFlag(const analyze_printf::PrintfSpecifier &FS,
4643 const analyze_printf::PrintfSpecifier &FS, in HandleInvalidPrintfConversionSpecifier()
4704 const analyze_printf::PrintfSpecifier &FS, in HandleInvalidAmount()
4726 void CheckPrintfHandler::HandleFlag(const analyze_printf::PrintfSpecifier &FS, in HandleFlag()
4743 const analyze_printf::PrintfSpecifier &FS, in HandleIgnoredFlag()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp418 bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS, in HandlePrintfSpecifier()
533 static size_t computeFieldWidth(const analyze_printf::PrintfSpecifier &FS) { in computeFieldWidth()
541 static size_t computePrecision(const analyze_printf::PrintfSpecifier &FS) { in computePrecision()
7971 const analyze_printf::PrintfSpecifier &FS,
7977 bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS,
7980 bool checkFormatExpr(const analyze_printf::PrintfSpecifier &FS,
7987 void HandleInvalidAmount(const analyze_printf::PrintfSpecifier &FS,
7991 void HandleFlag(const analyze_printf::PrintfSpecifier &FS,
7994 void HandleIgnoredFlag(const analyze_printf::PrintfSpecifier &FS,
8016 const analyze_printf::PrintfSpecifier &FS, in HandleInvalidPrintfConversionSpecifier()
[all …]