1 //===--- PathDiagnosticClients.h - Path Diagnostic Clients ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the interface to create different path diagostic clients.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHDIAGNOSTICCONSUMERS_H
15 #define LLVM_CLANG_STATICANALYZER_CORE_PATHDIAGNOSTICCONSUMERS_H
22 class AnalyzerOptions;
27 class PathDiagnosticConsumer;
28 typedef std::vector<PathDiagnosticConsumer*> PathDiagnosticConsumers;
30 #define ANALYSIS_DIAGNOSTICS(NAME, CMDFLAG, DESC, CREATEFN)\
31 void CREATEFN(AnalyzerOptions &AnalyzerOpts,\
32 PathDiagnosticConsumers &C,\
33 const std::string &Prefix,\
34 const Preprocessor &PP);
35 #include "clang/StaticAnalyzer/Core/Analyses.def"
37 } // end 'ento' namespace
38 } // end 'clang' namespace