Home
last modified time | relevance | path

Searched refs:FormatAttr (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp1063 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h132 class FormatAttr; variable
3722 FormatAttr *mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI,
13842 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember,
14024 static FormatStringType GetFormatStringType(const FormatAttr *Format);
14028 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx);
14031 bool CheckFormatArguments(const FormatAttr *Format,
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp2959 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute()
16676 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes()
16682 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
16691 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes()
16692 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
16843 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes()
16844 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
H A DSemaChecking.cpp7160 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo()
7221 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx()
7246 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI()
7464 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall()
10624 for (const auto *PVFormat : D->specific_attrs<FormatAttr>()) { in checkFormatStringExpr()
10829 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType()
10846 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
H A DSemaDeclAttr.cpp3950 FormatAttr *Sema::mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, in mergeFormatAttr()
3954 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr()
3966 return ::new (Context) FormatAttr(Context, CI, Format, FormatIdx, FirstArg); in mergeFormatAttr()
4080 FormatAttr *NewAttr = S.mergeFormatAttr(D, AL, II, Idx, FirstArg); in handleFormatAttr()
H A DSemaExprObjC.cpp2557 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp9165 const auto *From = cast<FormatAttr>(FromAttr); in Import()