Home
last modified time | relevance | path

Searched refs:FormatAttr (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp615 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
/external/clang/lib/Sema/
DSemaChecking.cpp1161 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()
DSemaDeclAttr.cpp2790 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()
DSemaDecl.cpp2214 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()
DSemaExprObjC.cpp2265 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
/external/clang/include/clang/Sema/
DSema.h112 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,