Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp615 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp2459 FormatAttr *Sema::mergeFormatAttr(Decl *D, SourceRange Range, in mergeFormatAttr()
2464 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr()
2476 return ::new (Context) FormatAttr(Range, Context, Format, FormatIdx, in mergeFormatAttr()
2598 FormatAttr *NewAttr = S.mergeFormatAttr(D, Attr.getRange(), II, in handleFormatAttr()
DSemaChecking.cpp680 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo()
767 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall()
2122 for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) { in checkFormatStringExpr()
2194 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType()
2208 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
DSemaDecl.cpp2066 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute()
10386 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes()
10392 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
10401 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes()
10402 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
10444 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes()
10445 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
/external/clang/include/clang/Sema/
DSema.h111 class FormatAttr; variable
1983 FormatAttr *mergeFormatAttr(Decl *D, SourceRange Range,
8198 bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember,
8261 static FormatStringType GetFormatStringType(const FormatAttr *Format);
8271 bool CheckFormatArguments(const FormatAttr *Format,