DriverDiagnostic.h revision 4213df3b5da21ce25a4541ca5c447eeb28b515a3
1//===--- DiagnosticDriver.h - Diagnostics for libdriver ---------*- 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_DRIVERDIAGNOSTIC_H
11#define LLVM_CLANG_DRIVERDIAGNOSTIC_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,\
19             SFINAE,ACCESS,NOWERROR,SHOWINSYSHEADER,CATEGORY,BRIEF,FULL) ENUM,
20#define DRIVERSTART
21#include "clang/Basic/DiagnosticDriverKinds.inc"
22#undef DIAG
23      NUM_BUILTIN_DRIVER_DIAGNOSTICS
24    };
25  }  // end namespace diag
26}  // end namespace clang
27
28#endif
29