summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c/Index.h
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/include/clang-c/Index.h
parent6d2dff61f9fd71248911d53ed0e1b7bfb3f9d012 (diff)
downloadbcm5719-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/include/clang-c/Index.h')
-rw-r--r--clang/include/clang-c/Index.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 027f62d7dcd..280b98c8e71 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -653,12 +653,6 @@ enum CXDiagnosticSeverity {
CXDiagnostic_Note = 1,
/**
- * \brief This diagnostic is a remark that provides additional information
- * for the user.
- */
- CXDiagnostic_Remark = 5,
-
- /**
* \brief This diagnostic indicates suspicious code that may not be
* wrong.
*/
OpenPOWER on IntegriCloud