diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 23:56:25 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 23:56:25 +0000 |
commit | 90b1827c1c1cf075266b96b416eefcf37924333b (patch) | |
tree | a0b0778195785570fa05284bacff688e5dcd4570 /lib/Rewrite/HTMLRewrite.cpp | |
parent | 593c41fb0bc6dd556401440c63754e28b93d803b (diff) |
Kill PreprocessorFactory, which was both morally repugnant and totally unused.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r-- | lib/Rewrite/HTMLRewrite.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Rewrite/HTMLRewrite.cpp b/lib/Rewrite/HTMLRewrite.cpp index 7326890ded..445bf30a1f 100644 --- a/lib/Rewrite/HTMLRewrite.cpp +++ b/lib/Rewrite/HTMLRewrite.cpp @@ -564,10 +564,3 @@ void html::HighlightMacros(Rewriter &R, FileID FID, Preprocessor& PP) { // Restore diagnostics object back to its own thing. PP.setDiagnostics(*OldDiags); } - -void html::HighlightMacros(Rewriter &R, FileID FID, - PreprocessorFactory &PPF) { - - llvm::OwningPtr<Preprocessor> PP(PPF.CreatePreprocessor()); - HighlightMacros(R, FID, *PP); -} |