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_GR_PATH_DIAGNOSTIC_CLIENTS_H
15 #define LLVM_CLANG_GR_PATH_DIAGNOSTIC_CLIENTS_H
22 class AnalyzerOptions;
27 class PathDiagnosticConsumer;
28 typedef std::vector<PathDiagnosticConsumer*> PathDiagnosticConsumers;
30 #define CREATE_CONSUMER(NAME)\
31 void create ## NAME ## DiagnosticConsumer(AnalyzerOptions &AnalyzerOpts,\
32 PathDiagnosticConsumers &C,\
33 const std::string& prefix,\
34 const Preprocessor &PP);
37 CREATE_CONSUMER(Plist)
38 CREATE_CONSUMER(PlistMultiFile)
39 CREATE_CONSUMER(TextPath)
41 #undef CREATE_CONSUMER
43 } // end 'ento' namespace
44 } // end 'clang' namespace