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/include/clang/Sema/ |
D | Sema.h | 113 class FormatAttr; variable 2188 FormatAttr *mergeFormatAttr(Decl *D, SourceRange Range, 9342 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, 9420 static FormatStringType GetFormatStringType(const FormatAttr *Format); 9424 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); 9427 bool CheckFormatArguments(const FormatAttr *Format,
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 1875 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo() 1930 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx() 1954 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI() 2095 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall() 3937 for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) { in checkFormatStringExpr() 4011 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType() 4027 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
|
D | SemaDeclAttr.cpp | 2863 FormatAttr *Sema::mergeFormatAttr(Decl *D, SourceRange Range, in mergeFormatAttr() 2868 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr() 2880 return ::new (Context) FormatAttr(Range, Context, Format, FormatIdx, in mergeFormatAttr() 3001 FormatAttr *NewAttr = S.mergeFormatAttr(D, Attr.getRange(), II, in handleFormatAttr()
|
D | SemaDecl.cpp | 2271 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute() 11835 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes() 11841 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 11850 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 11851 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 11916 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 11917 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
|
D | SemaExprObjC.cpp | 2278 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
|