Searched refs:FormatAttr (Results 1 – 5 of 5) 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 | SemaDeclAttr.cpp | 2459 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()
|
D | SemaChecking.cpp | 680 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()
|
D | SemaDecl.cpp | 2066 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/ |
D | Sema.h | 111 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,
|