Searched refs:DiagStr (Results 1 – 2 of 2) sorted by relevance
791 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument796 if (DiagEnd - DiagStr == 2 && in FormatDiagnostic()797 StringRef(DiagStr, DiagEnd - DiagStr).equals("%0") && in FormatDiagnostic()823 while (DiagStr != DiagEnd) { in FormatDiagnostic()824 if (DiagStr[0] != '%') { in FormatDiagnostic()826 const char *StrEnd = std::find(DiagStr, DiagEnd, '%'); in FormatDiagnostic()827 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic()828 DiagStr = StrEnd; in FormatDiagnostic()830 } else if (isPunctuation(DiagStr[1])) { in FormatDiagnostic()831 OutStr.push_back(DiagStr[1]); // %% -> %. in FormatDiagnostic()[all …]
1648 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,