]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / contrib / llvm / tools / clang / include / clang / StaticAnalyzer / Core / PathDiagnosticConsumers.h
1 //===--- PathDiagnosticClients.h - Path Diagnostic Clients ------*- 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 //
10 //  This file defines the interface to create different path diagostic clients.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_CLANG_GR_PATH_DIAGNOSTIC_CLIENTS_H
15 #define LLVM_CLANG_GR_PATH_DIAGNOSTIC_CLIENTS_H
16
17 #include <string>
18
19 namespace clang {
20
21 class Preprocessor;
22
23 namespace ento {
24
25 class PathDiagnosticConsumer;
26
27 PathDiagnosticConsumer*
28 createHTMLDiagnosticConsumer(const std::string& prefix, const Preprocessor &PP);
29
30 PathDiagnosticConsumer*
31 createPlistDiagnosticConsumer(const std::string& prefix, const Preprocessor &PP,
32                               PathDiagnosticConsumer *SubPD = 0);
33
34 PathDiagnosticConsumer*
35 createTextPathDiagnosticConsumer(const std::string& prefix,
36                                  const Preprocessor &PP);
37
38 } // end GR namespace
39
40 } // end clang namespace
41
42 #endif