Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h161 bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx);
H A DSema.h136 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 DSemaObjC.cpp2258 bool SemaObjC::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx()
2280 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI()
H A DSemaDeclAttr.cpp3474 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 DSemaDecl.cpp2814 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 DSemaChecking.cpp2945 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 DSemaExprObjC.cpp2566 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp1082 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp9269 const auto *From = cast<FormatAttr>(FromAttr); in Import()