Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp802 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h132 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 DSemaChecking.cpp4583 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 DSemaDeclAttr.cpp3461 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 DSemaDecl.cpp2630 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 DSemaExprObjC.cpp2554 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp8425 const auto *From = cast<FormatAttr>(FromAttr); in Import()
8426 FormatAttr *To; in Import()
8428 To = FormatAttr::Create(ToContext, ToAttrType, From->getFormatIdx(), in Import()