aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-04-26 14:43:53 +0000
committerAlp Toker <alp@nuanti.com>2014-04-26 14:43:53 +0000
commit87d3975369899137f61d1f1574da263db10dd566 (patch)
tree81930b3a4683e10503a8e40f206f6f6ae1d86987 /clang/tools/c-index-test/c-index-test.c
parent6d2dff61f9fd71248911d53ed0e1b7bfb3f9d012 (diff)
downloadllvm-87d3975369899137f61d1f1574da263db10dd566.zip
llvm-87d3975369899137f61d1f1574da263db10dd566.tar.gz
llvm-87d3975369899137f61d1f1574da263db10dd566.tar.bz2
libclang: remove 'CXDiagnostic_Remark'
The change was landed without review or test cases. It trivially broke almost any stable application checking for Severity >= CXDiagnostic_Error or indeed any other kind of severity comparison upon encountering a 'remark'. Mapped to CXDiagnostic_Warning until a workable solution is proposed to the list that preserves API stability. (It's also not clear why the rest of r202475 wasn't simply implemented as a modifier to the existing 'warning' level.) llvm-svn: 207319
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r--clang/tools/c-index-test/c-index-test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c
index aec5f1b..f50c885 100644
--- a/clang/tools/c-index-test/c-index-test.c
+++ b/clang/tools/c-index-test/c-index-test.c
@@ -3753,7 +3753,6 @@ static const char *getDiagnosticCodeStr(enum CXLoadDiag_Error error) {
static const char *getSeverityString(enum CXDiagnosticSeverity severity) {
switch (severity) {
case CXDiagnostic_Note: return "note";
- case CXDiagnostic_Remark: return "remark";
case CXDiagnostic_Error: return "error";
case CXDiagnostic_Fatal: return "fatal";
case CXDiagnostic_Ignored: return "ignored";