Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp802 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h129 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 DSemaChecking.cpp4338 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 DSemaDeclAttr.cpp3376 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 DSemaDecl.cpp2578 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 DSemaExprObjC.cpp2554 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTImporter.cpp8296 const auto *From = cast<FormatAttr>(FromAttr); in Import()
8297 FormatAttr *To; in Import()
8299 To = FormatAttr::Create(ToContext, ToAttrType, From->getFormatIdx(), in Import()