blob: 33c940e7bbf0c4d2fb21f2dd3fa8916f9d95348b [file] [log] [blame]
Chris Lattner47354ed2009-01-28 06:31:57 +00001//===--- DiagnosticAnalysis.h - Diagnostics for libanalysis -----*- 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
Chris Lattner132b5be2009-01-27 18:34:53 +000010#ifndef LLVM_CLANG_DIAGNOSTICANALYSIS_H
11#define LLVM_CLANG_DIAGNOSTICANALYSIS_H
12
13#include "clang/Basic/Diagnostic.h"
14
15namespace clang {
Mike Stump1eb44332009-09-09 15:08:12 +000016 namespace diag {
Chris Lattner132b5be2009-01-27 18:34:53 +000017 enum {
Douglas Gregor7d2b8c12011-04-15 22:04:17 +000018#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
Richard Smith3347b492013-11-12 02:41:45 +000019 SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
Chris Lattner132b5be2009-01-27 18:34:53 +000020#define ANALYSISSTART
Sebastian Redl4d7a0892009-03-19 23:18:26 +000021#include "clang/Basic/DiagnosticAnalysisKinds.inc"
Chris Lattner19e8e2c2009-01-29 17:46:13 +000022#undef DIAG
Chris Lattner132b5be2009-01-27 18:34:53 +000023 NUM_BUILTIN_ANALYSIS_DIAGNOSTICS
24 };
25 } // end namespace diag
26} // end namespace clang
27
28#endif