Searched refs:DiagStr (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 852 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument 857 if (DiagEnd - DiagStr == 2 && in FormatDiagnostic() 858 StringRef(DiagStr, DiagEnd - DiagStr).equals("%0") && in FormatDiagnostic() 880 while (DiagStr != DiagEnd) { in FormatDiagnostic() 881 if (DiagStr[0] != '%') { in FormatDiagnostic() 883 const char *StrEnd = std::find(DiagStr, DiagEnd, '%'); in FormatDiagnostic() 884 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic() 885 DiagStr = StrEnd; in FormatDiagnostic() 887 } else if (isPunctuation(DiagStr[1])) { in FormatDiagnostic() 888 OutStr.push_back(DiagStr[1]); // %% -> %. in FormatDiagnostic() [all …]
|
| /openbsd-src/gnu/llvm/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 2447 CXString DiagStr; in checkForErrors() local 2456 DiagStr = clang_formatDiagnostic(Diag, in checkForErrors() 2458 fprintf(stderr, "%s\n", clang_getCString(DiagStr)); in checkForErrors() 2459 clang_disposeString(DiagStr); in checkForErrors()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1682 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,
|