diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:33:11 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:33:11 +0000 |
commit | c7e70c433efc6953dc3888b9fbf9f3512d7da2b0 (patch) | |
tree | 27425930fc0c91650a7f3527fcac8e0f92907b90 /lib/Frontend/Rewrite/FrontendActions.cpp | |
parent | 486754660bb926339aefcf012a3f848592babb8b (diff) |
Diffstat (limited to 'lib/Frontend/Rewrite/FrontendActions.cpp')
-rw-r--r-- | lib/Frontend/Rewrite/FrontendActions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/Rewrite/FrontendActions.cpp b/lib/Frontend/Rewrite/FrontendActions.cpp index 4d587048f62d7..fa17b3e7cb3f5 100644 --- a/lib/Frontend/Rewrite/FrontendActions.cpp +++ b/lib/Frontend/Rewrite/FrontendActions.cpp @@ -131,9 +131,9 @@ bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), CI.getLangOpts(), FixItOpts.get()); FixAction->Execute(); - + err = Rewriter.WriteFixedFiles(&RewrittenFiles); - + FixAction->EndSourceFile(); CI.setSourceManager(nullptr); CI.setFileManager(nullptr); |