Searched refs:FormatAttr (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 802 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 132 class FormatAttr; variable 3346 FormatAttr *mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, 12510 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, 12653 static FormatStringType GetFormatStringType(const FormatAttr *Format); 12657 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); 12660 bool CheckFormatArguments(const FormatAttr *Format,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 4583 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo() 4639 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx() 4664 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI() 4849 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall() 7683 for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) { in checkFormatStringExpr() 7847 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType() 7864 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
|
| H A D | SemaDeclAttr.cpp | 3461 FormatAttr *Sema::mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, in mergeFormatAttr() 3465 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr() 3477 return ::new (Context) FormatAttr(Context, CI, Format, FormatIdx, FirstArg); in mergeFormatAttr() 3597 FormatAttr *NewAttr = S.mergeFormatAttr(D, AL, II, Idx, FirstArg); in handleFormatAttr()
|
| H A D | SemaDecl.cpp | 2630 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute() 15057 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes() 15063 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 15072 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 15073 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 15165 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 15166 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
|
| H A D | SemaExprObjC.cpp | 2554 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 8425 const auto *From = cast<FormatAttr>(FromAttr); in Import() 8426 FormatAttr *To; in Import() 8428 To = FormatAttr::Create(ToContext, ToAttrType, From->getFormatIdx(), in Import()
|