Searched refs:FormatAttr (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 939 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 131 class FormatAttr; variable 3555 FormatAttr *mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, 13039 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, 13196 static FormatStringType GetFormatStringType(const FormatAttr *Format); 13200 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); 13203 bool CheckFormatArguments(const FormatAttr *Format,
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 5410 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo() 5472 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx() 5497 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI() 5716 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall() 8641 for (const auto *PVFormat : D->specific_attrs<FormatAttr>()) { in checkFormatStringExpr() 8826 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType() 8843 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
|
| H A D | SemaDecl.cpp | 2831 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute() 15641 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes() 15647 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 15656 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 15657 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 15781 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 15782 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
|
| H A D | SemaDeclAttr.cpp | 3791 FormatAttr *Sema::mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, in mergeFormatAttr() 3795 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr() 3807 return ::new (Context) FormatAttr(Context, CI, Format, FormatIdx, FirstArg); in mergeFormatAttr() 3910 FormatAttr *NewAttr = S.mergeFormatAttr(D, AL, II, Idx, FirstArg); in handleFormatAttr()
|
| H A D | SemaExprObjC.cpp | 2554 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 6802 auto *FromAttr = FromD->getAttr<FormatAttr>(); in TEST_P() 6803 auto *ToAttr = ToD->getAttr<FormatAttr>(); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 8683 const auto *From = cast<FormatAttr>(FromAttr); in Import()
|