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
26 class PathDiagnosticConsumer;
27 typedef std::vector<PathDiagnosticConsumer*> PathDiagnosticConsumers;
29 void createHTMLDiagnosticConsumer(PathDiagnosticConsumers &C,
30 const std::string& prefix,
31 const Preprocessor &PP);
33 void createPlistDiagnosticConsumer(PathDiagnosticConsumers &C,
34 const std::string& prefix,
35 const Preprocessor &PP);
37 void createPlistMultiFileDiagnosticConsumer(PathDiagnosticConsumers &C,
38 const std::string& prefix,
39 const Preprocessor &PP);
41 void createTextPathDiagnosticConsumer(PathDiagnosticConsumers &C,
42 const std::string& prefix,
43 const Preprocessor &PP);
45 } // end 'ento' namespace
46 } // end 'clang' namespace