Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp615 for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) { in getPrintfFormatArgumentNum()
/external/clang/include/clang/Sema/
DSema.h113 class FormatAttr; variable
2188 FormatAttr *mergeFormatAttr(Decl *D, SourceRange Range,
9342 static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember,
9420 static FormatStringType GetFormatStringType(const FormatAttr *Format);
9424 static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx);
9427 bool CheckFormatArguments(const FormatAttr *Format,
/external/clang/lib/Sema/
DSemaChecking.cpp1875 bool Sema::getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, in getFormatStringInfo()
1930 bool Sema::GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx) { in GetFormatNSStringIdx()
1954 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInCFAPI()
2095 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) { in checkCall()
3937 for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) { in checkFormatStringExpr()
4011 Sema::FormatStringType Sema::GetFormatStringType(const FormatAttr *Format) { in GetFormatStringType()
4027 bool Sema::CheckFormatArguments(const FormatAttr *Format, in CheckFormatArguments()
DSemaDeclAttr.cpp2863 FormatAttr *Sema::mergeFormatAttr(Decl *D, SourceRange Range, in mergeFormatAttr()
2868 for (auto *F : D->specific_attrs<FormatAttr>()) { in mergeFormatAttr()
2880 return ::new (Context) FormatAttr(Range, Context, Format, FormatIdx, in mergeFormatAttr()
3001 FormatAttr *NewAttr = S.mergeFormatAttr(D, Attr.getRange(), II, in handleFormatAttr()
DSemaDecl.cpp2271 else if (const auto *FA = dyn_cast<FormatAttr>(Attr)) in mergeDeclAttribute()
11835 if (!FD->hasAttr<FormatAttr>()) { in AddKnownFunctionAttributes()
11841 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
11850 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes()
11851 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
11916 if (!FD->hasAttr<FormatAttr>()) in AddKnownFunctionAttributes()
11917 FD->addAttr(FormatAttr::CreateImplicit(Context, in AddKnownFunctionAttributes()
DSemaExprObjC.cpp2278 for (const auto *I : Method->specific_attrs<FormatAttr>()) { in DiagnoseCStringFormatDirectiveInObjCAPI()