Searched refs:FormatAttr (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 615 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 1161 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo() 1216 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx() 1240 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI() 1381 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall() 3127 for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) { in checkFormatStringExpr() 3199 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType() 3215 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
|
D | SemaDeclAttr.cpp | 2790 FormatAttr *Sema::mergeFormatAttr(Decl *D, SourceRange Range, in mergeFormatAttr() 2795 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr() 2807 return ::new (Context) FormatAttr(Range, Context, Format, FormatIdx, in mergeFormatAttr() 2928 FormatAttr *NewAttr = S.mergeFormatAttr(D, Attr.getRange(), II, in handleFormatAttr()
|
D | SemaDecl.cpp | 2214 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute() 11427 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes() 11433 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 11442 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 11443 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 11497 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 11498 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
|
D | SemaExprObjC.cpp | 2265 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 112 class FormatAttr; variable 2126 FormatAttr *mergeFormatAttr(Decl *D, SourceRange Range, 8960 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, 9038 static FormatStringType GetFormatStringType(const FormatAttr *Format); 9049 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); 9052 bool CheckFormatArguments(const FormatAttr *Format,
|