Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
DDiagnostic.cpp791 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument
796 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 …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
DDiagnostic.h1648 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,