blob: 0decf15080a0cc68fcb4e2b4b8385942fce60b7e [file] [log] [blame]
Yi Kong7bf2a682019-04-18 17:30:49 -07001//===- 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
12namespace 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 } // end namespace diag
23} // end namespace clang
24
25#endif