]> granicus.if.org Git - clang/commit
libclang: remove 'CXDiagnostic_Remark'
authorAlp Toker <alp@nuanti.com>
Sat, 26 Apr 2014 14:43:53 +0000 (14:43 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 26 Apr 2014 14:43:53 +0000 (14:43 +0000)
commitdbc6d63bd5ffb866033822536d90ab57974cb224
treebb922b52b662c7880ac62cceb9ad164e2687ab20
parent7129bf266e51bfcfac5d5aebe27a16e4e9b1972b
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.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207319 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
tools/c-index-test/c-index-test.c
tools/libclang/CIndexDiagnostic.cpp
tools/libclang/CXLoadedDiagnostic.cpp
tools/libclang/CXStoredDiagnostic.cpp