]> granicus.if.org Git - clang/blob - include/clang/Parse/ParseDiagnostic.h
Fix -Wimplicit-function-declaration, which required some refactoring and
[clang] / include / clang / Parse / ParseDiagnostic.h
1 //===--- DiagnosticParse.h - Diagnostics for libparse -----------*- 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_DIAGNOSTICPARSE_H
11 #define LLVM_CLANG_DIAGNOSTICPARSE_H
12
13 #include "clang/Basic/Diagnostic.h"
14
15 namespace clang {
16   namespace diag { 
17     enum {
18 #define DIAG(ENUM,FLAGS,DESC) ENUM,
19 #define PARSESTART
20 #include "clang/Basic/DiagnosticParseKinds.def"
21       NUM_BUILTIN_PARSE_DIAGNOSTICS
22     };
23   }  // end namespace diag
24 }  // end namespace clang
25
26 #endif