Searched refs:FormatAttr (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 627 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 120 class FormatAttr; variable 2486 FormatAttr *mergeFormatAttr(Decl *D, SourceRange Range, 10476 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, 10566 static FormatStringType GetFormatStringType(const FormatAttr *Format); 10570 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); 10573 bool CheckFormatArguments(const FormatAttr *Format,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 3926 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo() 3981 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx() 4006 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI() 4149 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall() 6467 for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) { in checkFormatStringExpr() 6608 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType() 6625 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
|
| H A D | SemaDecl.cpp | 2449 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute() 13556 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes() 13562 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 13571 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 13572 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 13655 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 13656 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
|
| H A D | SemaDeclAttr.cpp | 3338 FormatAttr *Sema::mergeFormatAttr(Decl *D, SourceRange Range, in mergeFormatAttr() 3343 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr() 3355 return ::new (Context) FormatAttr(Range, Context, Format, FormatIdx, in mergeFormatAttr() 3476 FormatAttr *NewAttr = S.mergeFormatAttr(D, AL.getRange(), II, in handleFormatAttr()
|
| H A D | SemaExprObjC.cpp | 2373 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
|