[Migrator] Remove unused MigratorOptions in FixitApplyDiagnosticConsumer

This isn't needed right now.
This commit is contained in:
David Farler
2017-04-26 12:45:21 -07:00
parent c719818024
commit 58feafc88a
3 changed files with 3 additions and 11 deletions

View File

@@ -34,10 +34,6 @@ class FixitApplyDiagnosticConsumer final
: public DiagnosticConsumer, public FixitFilter {
clang::RewriteBuffer RewriteBuf;
/// The Migrator options collected by the Swift CompilerInvocation,
/// used to drive decisions about which fix-its to apply.
const MigratorOptions &MigratorOpts;
/// The entire text of the input file.
const StringRef Text;
@@ -50,8 +46,7 @@ class FixitApplyDiagnosticConsumer final
unsigned NumFixitsApplied;
public:
FixitApplyDiagnosticConsumer(const MigratorOptions &MigratorOpts,
const StringRef Text,
FixitApplyDiagnosticConsumer(const StringRef Text,
const StringRef BufferName);
/// Print the resulting text, applying the caught fix-its to the given