ASTDiagnostic.h revision 5e9f35c7cb61aea46f56d46c77cbcf47c0cf28ba
1//===--- DiagnosticAST.h - Diagnostics for the AST library ------*- 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_DIAGNOSTICAST_H 11#define LLVM_CLANG_DIAGNOSTICAST_H 12 13#include "clang/Basic/Diagnostic.h" 14 15namespace clang { 16 namespace diag { 17 enum { 18#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,SFINAE) ENUM, 19#define ASTSTART 20#include "clang/Basic/DiagnosticASTKinds.inc" 21#undef DIAG 22 NUM_BUILTIN_AST_DIAGNOSTICS 23 }; 24 } // end namespace diag 25} // end namespace clang 26 27#endif 28