]> granicus.if.org Git - clang/commit
Use the ShowInSystemHeader bit consistently for all diagnostics
authorAlp Toker <alp@nuanti.com>
Mon, 16 Jun 2014 13:56:47 +0000 (13:56 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 16 Jun 2014 13:56:47 +0000 (13:56 +0000)
commit0860a908c0094e3d9d780edba99de486daa77963
treebe3b433f1d78b4dcb8172ca6b608085b532a53a5
parent336ab2f6f1ade86c0b109d2feb8c4db7c31b5ca4
Use the ShowInSystemHeader bit consistently for all diagnostics

By describing system header suppressions directly in tablegen we eliminate
special cases in getDiagnosticSeverity().

Dropping the reliance on builtin diagnostic classes when mapping also gets us
closer to the goal of reusing the diagnostic machinery for custom diagnostics.

No change in functionality.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211023 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
include/clang/Basic/Diagnostic.td
include/clang/Basic/DiagnosticFrontendKinds.td
include/clang/Basic/DiagnosticIDs.h
include/clang/Basic/DiagnosticLexKinds.td
lib/Basic/DiagnosticIDs.cpp
utils/TableGen/ClangDiagnosticsEmitter.cpp