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
Showing
- include/clang/Basic/Diagnostic.h 2 additions, 2 deletionsinclude/clang/Basic/Diagnostic.h
- include/clang/Basic/Diagnostic.td 8 additions, 5 deletionsinclude/clang/Basic/Diagnostic.td
- include/clang/Basic/DiagnosticFrontendKinds.td 1 addition, 1 deletioninclude/clang/Basic/DiagnosticFrontendKinds.td
- include/clang/Basic/DiagnosticIDs.h 1 addition, 3 deletionsinclude/clang/Basic/DiagnosticIDs.h
- include/clang/Basic/DiagnosticLexKinds.td 2 additions, 2 deletionsinclude/clang/Basic/DiagnosticLexKinds.td
- lib/Basic/DiagnosticIDs.cpp 7 additions, 7 deletionslib/Basic/DiagnosticIDs.cpp
- utils/TableGen/ClangDiagnosticsEmitter.cpp 1 addition, 2 deletionsutils/TableGen/ClangDiagnosticsEmitter.cpp
Loading
Please register or sign in to comment