Searched refs:FormatAttr (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 802 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 129 class FormatAttr; variable 3309 FormatAttr *mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, 12409 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, 12550 static FormatStringType GetFormatStringType(const FormatAttr *Format); 12554 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); 12557 bool CheckFormatArguments(const FormatAttr *Format,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 4338 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo() 4394 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx() 4419 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI() 4603 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall() 7411 for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) { in checkFormatStringExpr() 7575 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType() 7592 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
|
| H A D | SemaDeclAttr.cpp | 3376 FormatAttr *Sema::mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, in mergeFormatAttr() 3380 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr() 3392 return ::new (Context) FormatAttr(Context, CI, Format, FormatIdx, FirstArg); in mergeFormatAttr() 3512 FormatAttr *NewAttr = S.mergeFormatAttr(D, AL, II, Idx, FirstArg); in handleFormatAttr()
|
| H A D | SemaDecl.cpp | 2578 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute() 15001 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes() 15007 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 15016 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 15017 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 15109 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 15110 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
|
| H A D | SemaExprObjC.cpp | 2554 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 8296 const auto *From = cast<FormatAttr>(FromAttr); in Import() 8297 FormatAttr *To; in Import() 8299 To = FormatAttr::Create(ToContext, ToAttrType, From->getFormatIdx(), in Import()
|