Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 14 | pmbaty | 1 | //===- DiagnosticCategories.h - Diagnostic Categories Enumerators-*- 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_DIAGNOSTICCATEGORIES_H |
||
| 10 | #define LLVM_CLANG_BASIC_DIAGNOSTICCATEGORIES_H |
||
| 11 | |||
| 12 | namespace clang { |
||
| 13 | namespace diag { |
||
| 14 | enum { |
||
| 15 | #define GET_CATEGORY_TABLE |
||
| 16 | #define CATEGORY(X, ENUM) ENUM, |
||
| 17 | #include "clang/Basic/DiagnosticGroups.inc" |
||
| 18 | #undef CATEGORY |
||
| 19 | #undef GET_CATEGORY_TABLE |
||
| 20 | DiagCat_NUM_CATEGORIES |
||
| 21 | }; |
||
| 22 | |||
| 23 | enum class Group { |
||
| 24 | #define DIAG_ENTRY(GroupName, FlagNameOffset, Members, SubGroups, Docs) \ |
||
| 25 | GroupName, |
||
| 26 | #include "clang/Basic/DiagnosticGroups.inc" |
||
| 27 | #undef CATEGORY |
||
| 28 | #undef DIAG_ENTRY |
||
| 29 | }; |
||
| 30 | } // end namespace diag |
||
| 31 | } // end namespace clang |
||
| 32 | |||
| 33 | #endif |