Home
last modified time | relevance | path

Searched refs:DiagStr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp1131 void Diagnostic::FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument
1136 if (DiagEnd - DiagStr == 2 && StringRef(DiagStr, DiagEnd - DiagStr) == "%0" && in FormatDiagnostic()
1158 while (DiagStr != DiagEnd) { in FormatDiagnostic()
1159 if (DiagStr[0] != '%') { in FormatDiagnostic()
1161 const char *StrEnd = std::find(DiagStr, DiagEnd, '%'); in FormatDiagnostic()
1162 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic()
1163 DiagStr = StrEnd; in FormatDiagnostic()
1165 } else if (isPunctuation(DiagStr[1])) { in FormatDiagnostic()
1166 OutStr.push_back(DiagStr[1]); // %% -> %. in FormatDiagnostic()
1167 DiagStr += 2; in FormatDiagnostic()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h1657 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,