Renaming FrontendInputs -> FrontendInputsAndOutputs

Fix comment in ArtsToFrontendOptionsConverter re getOutputFilenamesFromCommandLineOrFilelist
This commit is contained in:
David Ungar
2018-01-23 22:17:58 -08:00
committed by David Ungar
parent 02fcdf150d
commit a9819b6e60
23 changed files with 168 additions and 142 deletions

View File

@@ -146,7 +146,7 @@ SourceFile *getSourceFile(CompilerInstance &Instance,
CompilerInvocation Invocation;
Invocation.getLangOptions().KeepSyntaxInfoInSourceFile = true;
Invocation.getLangOptions().VerifySyntaxTree = true;
Invocation.getFrontendOptions().Inputs.addInputFile(InputFileName);
Invocation.getFrontendOptions().InputsAndOutputs.addInputFile(InputFileName);
Invocation.setMainExecutablePath(
llvm::sys::fs::getMainExecutable(MainExecutablePath,
reinterpret_cast<void *>(&anchorForGetMainExecutable)));