Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DDiagnostic.cpp628 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/
Dc-index-test.c1768 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/
DDiagnostic.h1234 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,