clang  14.0.0git
DiagnosticCategories.h
Go to the documentation of this file.
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
21  };
22 
23  enum class Group {
24 #define DIAG_ENTRY(GroupName, FlagNameOffset, Members, SubGroups) GroupName,
25 #include "clang/Basic/DiagnosticGroups.inc"
26 #undef CATEGORY
27 #undef DIAG_ENTRY
28  };
29  } // end namespace diag
30 } // end namespace clang
31 
32 #endif
clang::diag::Group
Group
Definition: DiagnosticCategories.h:23
clang::diag::DiagCat_NUM_CATEGORIES
@ DiagCat_NUM_CATEGORIES
Definition: DiagnosticCategories.h:20
clang
Definition: CalledOnceCheck.h:17