]> granicus.if.org Git - clang/commit
Basic/Diagnostics: Add three explicit bits to DiagnosticMappingInfo to track "no...
authorDaniel Dunbar <daniel@zuster.org>
Thu, 29 Sep 2011 01:52:06 +0000 (01:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 29 Sep 2011 01:52:06 +0000 (01:52 +0000)
commita5e41333b06fdf036d58495490eb14d6a0a3fcf7
tree77d93d088ad11d28667f1974baeaf58870afcba3
parent3f8394669673451061f57ced81f0a2cae087f119
Basic/Diagnostics: Add three explicit bits to DiagnosticMappingInfo to track "no-warning-as-error", "no-error-as-fatal", and "show-in-system-header", and update DiagnosticsEngine::setDiagnosticGroup{WarningAsError,ErrorAsFatal} and GetDefaultDiagMappingInfo to set them appropriately.
 - No actual functionality change for now, we still also use the diag::Mapping::{MAP_WARNING_NO_ERROR,MAP_ERROR_NO_FATAL,MAP_WARNING_SHOW_IN_SYSTEM_HEADER} for a little while longer.

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