PathDiagnosticConsumers.h revision 9ef6537a894c33003359b1f9b9676e9178e028b7
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 19namespace clang { 20 21class Preprocessor; 22 23namespace ento { 24 25class PathDiagnosticClient; 26 27PathDiagnosticClient* 28createHTMLDiagnosticClient(const std::string& prefix, const Preprocessor &PP); 29 30PathDiagnosticClient* 31createPlistDiagnosticClient(const std::string& prefix, const Preprocessor &PP, 32 PathDiagnosticClient *SubPD = 0); 33 34PathDiagnosticClient* 35createTextPathDiagnosticClient(const std::string& prefix, 36 const Preprocessor &PP); 37 38} // end GR namespace 39 40} // end clang namespace 41 42#endif 43