forked from OSchip/llvm-project
In FixItRecompile::BeginInvocation() reset the diagnostics before executing
the original action. llvm-svn: 149120
This commit is contained in:
parent
9e18b6672a
commit
0b5ec2d199
|
@ -138,6 +138,7 @@ bool FixItRecompile::BeginInvocation(CompilerInstance &CI) {
|
|||
if (err)
|
||||
return false;
|
||||
CI.getDiagnosticClient().clear();
|
||||
CI.getDiagnostics().Reset();
|
||||
|
||||
PreprocessorOptions &PPOpts = CI.getPreprocessorOpts();
|
||||
PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(),
|
||||
|
|
Loading…
Reference in New Issue