Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
HDDiagnostic.cpp776 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument
781 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 …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDDiagnostic.h1440 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,