clang API Documentation
00001 //===--- DiagnosticDriver.h - Diagnostics for libdriver ---------*- 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_DRIVER_DRIVERDIAGNOSTIC_H 00011 #define LLVM_CLANG_DRIVER_DRIVERDIAGNOSTIC_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 DRIVERSTART 00021 #include "clang/Basic/DiagnosticDriverKinds.inc" 00022 #undef DIAG 00023 NUM_BUILTIN_DRIVER_DIAGNOSTICS 00024 }; 00025 } // end namespace diag 00026 } // end namespace clang 00027 00028 #endif