Home | History | Annotate | Download | only in CrossTU
      1 //===--- CrossTUDiagnostic.h - Diagnostics for Cross TU ---------*- 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_CROSSTU_CROSSTUDIAGNOSTIC_H
     11 #define LLVM_CLANG_CROSSTU_CROSSTUDIAGNOSTIC_H
     12 
     13 #include "clang/Basic/Diagnostic.h"
     14 
     15 namespace clang {
     16 namespace diag {
     17 enum {
     18 #define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR,      \
     19              SHOWINSYSHEADER, CATEGORY)                                        \
     20   ENUM,
     21 #define CROSSTUSTART
     22 #include "clang/Basic/DiagnosticCrossTUKinds.inc"
     23 #undef DIAG
     24   NUM_BUILTIN_CROSSTU_DIAGNOSTICS
     25 };
     26 } // end namespace diag
     27 } // end namespace clang
     28 
     29 #endif // LLVM_CLANG_FRONTEND_FRONTENDDIAGNOSTIC_H
     30