Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | //===--- DiagnosticDriver.h - Diagnostics for libdriver ---------*- C++ -*-===// |
2 | // |
||
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
||
4 | // See https://llvm.org/LICENSE.txt for license information. |
||
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
||
6 | // |
||
7 | //===----------------------------------------------------------------------===// |
||
8 | |||
9 | #ifndef LLVM_CLANG_BASIC_DIAGNOSTICDRIVER_H |
||
10 | #define LLVM_CLANG_BASIC_DIAGNOSTICDRIVER_H |
||
11 | |||
12 | #include "clang/Basic/Diagnostic.h" |
||
13 | |||
14 | namespace clang { |
||
15 | namespace diag { |
||
16 | enum { |
||
17 | #define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \ |
||
18 | SHOWINSYSHEADER, SHOWINSYSMACRO, DEFERRABLE, CATEGORY) \ |
||
19 | ENUM, |
||
20 | #define DRIVERSTART |
||
21 | #include "clang/Basic/DiagnosticDriverKinds.inc" |
||
22 | #undef DIAG |
||
23 | NUM_BUILTIN_DRIVER_DIAGNOSTICS |
||
24 | }; |
||
25 | } // end namespace diag |
||
26 | } // end namespace clang |
||
27 | |||
28 | #endif // LLVM_CLANG_BASIC_DIAGNOSTICDRIVER_H |