]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathDiagnosticClients.h
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / contrib / llvm / tools / clang / include / clang / StaticAnalyzer / Core / PathDiagnosticClients.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 PathDiagnosticClient;
26
27 PathDiagnosticClient*
28 createHTMLDiagnosticClient(const std::string& prefix, const Preprocessor &PP);
29
30 PathDiagnosticClient*
31 createPlistDiagnosticClient(const std::string& prefix, const Preprocessor &PP,
32                             PathDiagnosticClient *SubPD = 0);
33
34 PathDiagnosticClient*
35 createTextPathDiagnosticClient(const std::string& prefix,
36                                const Preprocessor &PP);
37
38 } // end GR namespace
39
40 } // end clang namespace
41
42 #endif