diff options
Diffstat (limited to 'include/clang/Checker/PathDiagnosticClients.h')
-rw-r--r-- | include/clang/Checker/PathDiagnosticClients.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/clang/Checker/PathDiagnosticClients.h b/include/clang/Checker/PathDiagnosticClients.h new file mode 100644 index 0000000..d3aa3b2 --- /dev/null +++ b/include/clang/Checker/PathDiagnosticClients.h @@ -0,0 +1,32 @@ +//===--- PathDiagnosticClients.h - Path Diagnostic Clients ------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines the interface to create different path diagostic clients. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_CLANG_CHECKER_PATH_DIAGNOSTIC_CLIENTS_H +#define LLVM_CLANG_CHECKER_PATH_DIAGNOSTIC_CLiENTS_H + +#include <string> + +namespace clang { + +class PathDiagnosticClient; +class Preprocessor; + +PathDiagnosticClient* +CreateHTMLDiagnosticClient(const std::string& prefix, const Preprocessor &PP); + +PathDiagnosticClient* +CreatePlistDiagnosticClient(const std::string& prefix, const Preprocessor &PP, + PathDiagnosticClient *SubPD = 0); + +} // end clang namespace +#endif |