1//===- DiagnosticCategories.h - Diagnostic Categories Enumerators-*- C++ -*===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10#ifndef LLVM_CLANG_BASIC_DIAGNOSTICCATEGORIES_H 11#define LLVM_CLANG_BASIC_DIAGNOSTICCATEGORIES_H 12 13namespace clang { 14 namespace diag { 15 enum { 16#define GET_CATEGORY_TABLE 17#define CATEGORY(X, ENUM) ENUM, 18#include "clang/Basic/DiagnosticGroups.inc" 19#undef CATEGORY 20#undef GET_CATEGORY_TABLE 21 DiagCat_NUM_CATEGORIES 22 }; 23 } // end namespace diag 24} // end namespace clang 25 26#endif 27