Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DDiagnostic.cpp644 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument
650 if (DiagEnd - DiagStr == 2 && in FormatDiagnostic()
651 StringRef(DiagStr, DiagEnd - DiagStr).equals("%0") && in FormatDiagnostic()
677 while (DiagStr != DiagEnd) { in FormatDiagnostic()
678 if (DiagStr[0] != '%') { in FormatDiagnostic()
680 const char *StrEnd = std::find(DiagStr, DiagEnd, '%'); in FormatDiagnostic()
681 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic()
682 DiagStr = StrEnd; in FormatDiagnostic()
684 } else if (isPunctuation(DiagStr[1])) { in FormatDiagnostic()
685 OutStr.push_back(DiagStr[1]); // %% -> %. in FormatDiagnostic()
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c1948 CXString DiagStr; in checkForErrors() local
1957 DiagStr = clang_formatDiagnostic(Diag, in checkForErrors()
1959 fprintf(stderr, "%s\n", clang_getCString(DiagStr)); in checkForErrors()
1960 clang_disposeString(DiagStr); in checkForErrors()
/external/clang/include/clang/Basic/
DDiagnostic.h1256 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,