Searched refs:FormatAttr (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaObjC.h | 161 bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx);
|
H A D | Sema.h | 136 class FormatAttr; variable 2196 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, 2219 static FormatStringType GetFormatStringType(const FormatAttr *Format); 2557 bool CheckFormatArguments(const FormatAttr *Format, 4547 FormatAttr *mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjC.cpp | 2258 bool SemaObjC::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx() 2280 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI()
|
H A D | SemaDeclAttr.cpp | 3474 FormatAttr *Sema::mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, in mergeFormatAttr() 3478 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr() 3490 return ::new (Context) FormatAttr(Context, CI, Format, FormatIdx, FirstArg); in mergeFormatAttr() 3603 FormatAttr *NewAttr = S.mergeFormatAttr(D, AL, II, Idx, FirstArg); in handleFormatAttr()
|
H A D | SemaDecl.cpp | 2814 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute() 16455 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes() 16461 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 16470 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 16471 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes() 16622 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes() 16623 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
|
H A D | SemaChecking.cpp | 2945 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo() 3162 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall() 5825 for (const auto *PVFormat : D->specific_attrs<FormatAttr>()) { in checkFormatStringExpr() 6030 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType() 6044 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
|
H A D | SemaExprObjC.cpp | 2566 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | GenericTaintChecker.cpp | 1082 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTImporter.cpp | 9269 const auto *From = cast<FormatAttr>(FromAttr); in Import()
|