diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-05-03 23:07:45 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-05-03 23:07:45 +0000 |
| commit | 30071cead9aa4f818a0f44134a8218d6f515d166 (patch) | |
| tree | 35c25e4e9e5406443564dcad38b3df3ecf6cd202 /clang/lib/Rewrite | |
| parent | 5fe0e7b2f6927b19163c46c0ca905cb1b6102fb9 (diff) | |
| download | bcm5719-llvm-30071cead9aa4f818a0f44134a8218d6f515d166.tar.gz bcm5719-llvm-30071cead9aa4f818a0f44134a8218d6f515d166.zip | |
Remove DiagnosticConsumer::clone(), a bad idea that is now unused.
llvm-svn: 181070
Diffstat (limited to 'clang/lib/Rewrite')
| -rw-r--r-- | clang/lib/Rewrite/Frontend/FixItRewriter.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Rewrite/Frontend/FixItRewriter.cpp b/clang/lib/Rewrite/Frontend/FixItRewriter.cpp index a3bbdcf6ebd..166c607d020 100644 --- a/clang/lib/Rewrite/Frontend/FixItRewriter.cpp +++ b/clang/lib/Rewrite/Frontend/FixItRewriter.cpp @@ -197,9 +197,4 @@ void FixItRewriter::Diag(SourceLocation Loc, unsigned DiagID) { Diags.setClient(this); } -DiagnosticConsumer *FixItRewriter::clone(DiagnosticsEngine &Diags) const { - return new FixItRewriter(Diags, Diags.getSourceManager(), - Rewrite.getLangOpts(), FixItOpts); -} - FixItOptions::~FixItOptions() {} |

