clang API Documentation
00001 //===--- DiagnosticFrontend.h - Diagnostics for frontend --------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_CLANG_FRONTEND_FRONTENDDIAGNOSTIC_H 00011 #define LLVM_CLANG_FRONTEND_FRONTENDDIAGNOSTIC_H 00012 00013 #include "clang/Basic/Diagnostic.h" 00014 00015 namespace clang { 00016 namespace diag { 00017 enum { 00018 #define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\ 00019 SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM, 00020 #define FRONTENDSTART 00021 #include "clang/Basic/DiagnosticFrontendKinds.inc" 00022 #undef DIAG 00023 NUM_BUILTIN_FRONTEND_DIAGNOSTICS 00024 }; 00025 } // end namespace diag 00026 } // end namespace clang 00027 00028 #endif