]> granicus.if.org Git - clang/commit
Basic/Diagnostic: Factor out
authorDaniel Dunbar <daniel@zuster.org>
Thu, 29 Sep 2011 00:53:47 +0000 (00:53 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 29 Sep 2011 00:53:47 +0000 (00:53 +0000)
commit4aa8f2bce0f498152d624f748712a991adc23fdd
tree136eaea5ce35b5ae0d825f261eb117fe6b426c9b
parent08d6acf6e5efa6df57345922d412476127f856fc
Basic/Diagnostic: Factor out
DiagnosticsEngine::setDiagnosticGroup{ErrorAsFatal,WarningAsError} methods which
more accurately model the correct API -- no internal change to the diagnostics
engine yet though.
 - Also, stop honoring -Werror=everything (etc.) as a valid (but oddly behaved) option.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140747 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
lib/Basic/Diagnostic.cpp
lib/Frontend/Warnings.cpp