Searched refs:DiagStr (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 644 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/llvm-project/clang/lib/Basic/ |
D | Diagnostic.cpp | 791 FormatDiagnostic(const char *DiagStr, const char *DiagEnd, in FormatDiagnostic() argument 796 if (DiagEnd - DiagStr == 2 && in FormatDiagnostic() 797 StringRef(DiagStr, DiagEnd - DiagStr).equals("%0") && in FormatDiagnostic() 823 while (DiagStr != DiagEnd) { in FormatDiagnostic() 824 if (DiagStr[0] != '%') { in FormatDiagnostic() 826 const char *StrEnd = std::find(DiagStr, DiagEnd, '%'); in FormatDiagnostic() 827 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic() 828 DiagStr = StrEnd; in FormatDiagnostic() 830 } else if (isPunctuation(DiagStr[1])) { in FormatDiagnostic() 831 OutStr.push_back(DiagStr[1]); // %% -> %. in FormatDiagnostic() [all …]
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 1948 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/ |
D | Diagnostic.h | 1256 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,
|
/external/llvm-project/clang/tools/c-index-test/ |
D | c-index-test.c | 2407 CXString DiagStr; in checkForErrors() local 2416 DiagStr = clang_formatDiagnostic(Diag, in checkForErrors() 2418 fprintf(stderr, "%s\n", clang_getCString(DiagStr)); in checkForErrors() 2419 clang_disposeString(DiagStr); in checkForErrors()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Diagnostic.h | 1609 void FormatDiagnostic(const char *DiagStr, const char *DiagEnd,
|