clang API Documentation

AnalysisDiagnostic.h
Go to the documentation of this file.
00001 //===--- DiagnosticAnalysis.h - Diagnostics for libanalysis -----*- 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_ANALYSIS_ANALYSISDIAGNOSTIC_H
00011 #define LLVM_CLANG_ANALYSIS_ANALYSISDIAGNOSTIC_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 ANALYSISSTART
00021 #include "clang/Basic/DiagnosticAnalysisKinds.inc"
00022 #undef DIAG
00023       NUM_BUILTIN_ANALYSIS_DIAGNOSTICS
00024     };
00025   }  // end namespace diag
00026 }  // end namespace clang
00027 
00028 #endif