clang API Documentation

LexDiagnostic.h
Go to the documentation of this file.
00001 //===--- DiagnosticLex.h - Diagnostics for liblex ---------------*- 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_LEX_LEXDIAGNOSTIC_H
00011 #define LLVM_CLANG_LEX_LEXDIAGNOSTIC_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 LEXSTART
00021 #include "clang/Basic/DiagnosticLexKinds.inc"
00022 #undef DIAG
00023       NUM_BUILTIN_LEX_DIAGNOSTICS
00024     };
00025   }  // end namespace diag
00026 }  // end namespace clang
00027 
00028 #endif