Searched refs:FormatString (Results 1 – 8 of 8) sorted by relevance
133 void formatErrorString(StringRef FormatString, ArrayRef<std::string> Args, in formatErrorString() argument135 while (!FormatString.empty()) { in formatErrorString()136 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); in formatErrorString()141 FormatString = Pieces.second.drop_front(); in formatErrorString()
16 FormatString.cpp
19 FormatString.cpp \
140 unsigned getCustomDiagID(Level L, StringRef FormatString);
601 unsigned getCustomDiagID(Level L, const char (&FormatString)[N]) { in getCustomDiagID()603 StringRef(FormatString, N - 1)); in getCustomDiagID()
315 unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) { in getCustomDiagID() argument318 return CustomDiagInfo->getOrCreateDiagID(L, FormatString, *this); in getCustomDiagID()
942 const StringLiteral *FormatString; in DiagnoseCStringFormatDirectiveInCFAPI() local945 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()
2094 StringLiteral *FormatString = OSL->getString(); in DiagnoseCStringFormatDirectiveInObjCAPI() local2095 if (S.FormatStringHasSArg(FormatString)) { in DiagnoseCStringFormatDirectiveInObjCAPI()