summaryrefslogtreecommitdiff
path: root/include/clang/Frontend/PathDiagnosticClients.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Frontend/PathDiagnosticClients.h')
-rw-r--r--include/clang/Frontend/PathDiagnosticClients.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/include/clang/Frontend/PathDiagnosticClients.h b/include/clang/Frontend/PathDiagnosticClients.h
index 8cb6898d75984..98831ba37fe3d 100644
--- a/include/clang/Frontend/PathDiagnosticClients.h
+++ b/include/clang/Frontend/PathDiagnosticClients.h
@@ -22,33 +22,13 @@ namespace clang {
class PathDiagnosticClient;
class Preprocessor;
-class PreprocessorFactory;
-
-class PathDiagnosticClientFactory {
-public:
- PathDiagnosticClientFactory() {}
- virtual ~PathDiagnosticClientFactory() {}
-
- virtual const char *getName() const = 0;
-
- virtual PathDiagnosticClient*
- createPathDiagnosticClient(llvm::SmallVectorImpl<std::string> *FilesMade) = 0;
-};
PathDiagnosticClient*
-CreateHTMLDiagnosticClient(const std::string& prefix, Preprocessor* PP = 0,
- PreprocessorFactory* PPF = 0,
- llvm::SmallVectorImpl<std::string>* FilesMade = 0);
-
-PathDiagnosticClientFactory*
-CreateHTMLDiagnosticClientFactory(const std::string& prefix,
- Preprocessor* PP = 0,
- PreprocessorFactory* PPF = 0);
+CreateHTMLDiagnosticClient(const std::string& prefix, const Preprocessor &PP);
PathDiagnosticClient*
-CreatePlistDiagnosticClient(const std::string& prefix, Preprocessor* PP,
- PreprocessorFactory* PPF,
- PathDiagnosticClientFactory *PF = 0);
+CreatePlistDiagnosticClient(const std::string& prefix, const Preprocessor &PP,
+ PathDiagnosticClient *SubPD = 0);
} // end clang namespace
#endif