Searched refs:DiagStr (Results 1 – 2 of 2) sorted by relevance
776 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument781 if (DiagEnd - DiagStr == 2 && in FormatDiagnostic()782 StringRef(DiagStr, DiagEnd - DiagStr).equals("%0") && in FormatDiagnostic()808 while (DiagStr != DiagEnd) { in FormatDiagnostic()809 if (DiagStr[0] != '%') { in FormatDiagnostic()811 const char *StrEnd = std::find(DiagStr, DiagEnd, '%'); in FormatDiagnostic()812 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic()813 DiagStr = StrEnd; in FormatDiagnostic()815 } else if (isPunctuation(DiagStr[1])) { in FormatDiagnostic()816 OutStr.push_back(DiagStr[1]); // %% -> %. in FormatDiagnostic()[all …]
1440 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,