Skip to content

Commit d7f6a1e

Browse files
committed
[FrontendTool] Fix a compiler error that I missed due to rebasing the pull-request
1 parent dbcffd6 commit d7f6a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static bool performCompile(CompilerInstance &Instance,
518518
ASTContext &Context = Instance.getASTContext();
519519

520520
if (Invocation.getMigratorOptions().shouldRunMigrator()) {
521-
migrator::updateCodeAndEmitRemap(Instance.get(), Invocation);
521+
migrator::updateCodeAndEmitRemap(&Instance, Invocation);
522522
}
523523

524524
if (Action == FrontendOptions::REPL) {

0 commit comments

Comments
 (0)