diff options
author | Alp Toker <alp@nuanti.com> | 2014-04-26 14:43:53 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-04-26 14:43:53 +0000 |
commit | 87d3975369899137f61d1f1574da263db10dd566 (patch) | |
tree | 81930b3a4683e10503a8e40f206f6f6ae1d86987 /clang/tools/libclang/CIndexDiagnostic.cpp | |
parent | 6d2dff61f9fd71248911d53ed0e1b7bfb3f9d012 (diff) | |
download | bcm5719-llvm-87d3975369899137f61d1f1574da263db10dd566.tar.gz bcm5719-llvm-87d3975369899137f61d1f1574da263db10dd566.zip |
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/libclang/CIndexDiagnostic.cpp')
-rw-r--r-- | clang/tools/libclang/CIndexDiagnostic.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/tools/libclang/CIndexDiagnostic.cpp b/clang/tools/libclang/CIndexDiagnostic.cpp index cf9dc6f2407..8a57d7dfff1 100644 --- a/clang/tools/libclang/CIndexDiagnostic.cpp +++ b/clang/tools/libclang/CIndexDiagnostic.cpp @@ -308,7 +308,6 @@ CXString clang_formatDiagnostic(CXDiagnostic Diagnostic, unsigned Options) { switch (Severity) { case CXDiagnostic_Ignored: llvm_unreachable("impossible"); case CXDiagnostic_Note: Out << "note: "; break; - case CXDiagnostic_Remark: Out << "remark: "; break; case CXDiagnostic_Warning: Out << "warning: "; break; case CXDiagnostic_Error: Out << "error: "; break; case CXDiagnostic_Fatal: Out << "fatal error: "; break; |