Home
last modified time | relevance | path

Searched refs:FormatString (Results 1 – 8 of 8) sorted by relevance

/minix3/external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp133 void formatErrorString(StringRef FormatString, ArrayRef<std::string> Args, in formatErrorString() argument
135 while (!FormatString.empty()) { in formatErrorString()
136 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); in formatErrorString()
141 FormatString = Pieces.second.drop_front(); in formatErrorString()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DCMakeLists.txt16 FormatString.cpp
/minix3/external/bsd/llvm/lib/libclangAnalysis/
H A DMakefile19 FormatString.cpp \
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DDiagnosticIDs.h140 unsigned getCustomDiagID(Level L, StringRef FormatString);
H A DDiagnostic.h601 unsigned getCustomDiagID(Level L, const char (&FormatString)[N]) { in getCustomDiagID()
603 StringRef(FormatString, N - 1)); in getCustomDiagID()
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DDiagnosticIDs.cpp315 unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) { in getCustomDiagID() argument
318 return CustomDiagInfo->getOrCreateDiagID(L, FormatString, *this); in getCustomDiagID()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp942 const StringLiteral *FormatString; in DiagnoseCStringFormatDirectiveInCFAPI() local
945 FormatString = OSL->getString(); in DiagnoseCStringFormatDirectiveInCFAPI()
947 FormatString = dyn_cast<StringLiteral>(FormatExpr->IgnoreParenImpCasts()); in DiagnoseCStringFormatDirectiveInCFAPI()
948 if (!FormatString) in DiagnoseCStringFormatDirectiveInCFAPI()
950 if (S.FormatStringHasSArg(FormatString)) { in DiagnoseCStringFormatDirectiveInCFAPI()
H A DSemaExprObjC.cpp2094 StringLiteral *FormatString = OSL->getString(); in DiagnoseCStringFormatDirectiveInObjCAPI() local
2095 if (S.FormatStringHasSArg(FormatString)) { in DiagnoseCStringFormatDirectiveInObjCAPI()