Searched refs:DiagStr (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 628 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument 646 while (DiagStr != DiagEnd) { in FormatDiagnostic() 647 if (DiagStr[0] != '%') { in FormatDiagnostic() 649 const char *StrEnd = std::find(DiagStr, DiagEnd, '%'); in FormatDiagnostic() 650 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic() 651 DiagStr = StrEnd; in FormatDiagnostic() 653 } else if (isPunctuation(DiagStr[1])) { in FormatDiagnostic() 654 OutStr.push_back(DiagStr[1]); // %% -> %. in FormatDiagnostic() 655 DiagStr += 2; in FormatDiagnostic() 660 ++DiagStr; in FormatDiagnostic() [all …]
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 1768 CXString DiagStr; in checkForErrors() local 1777 DiagStr = clang_formatDiagnostic(Diag, in checkForErrors() 1779 fprintf(stderr, "%s\n", clang_getCString(DiagStr)); in checkForErrors() 1780 clang_disposeString(DiagStr); in checkForErrors()
|
/external/clang/include/clang/Basic/ |
D | Diagnostic.h | 1234 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,
|