Skip to content

Commit 0f26cb7

Browse files
committed
[Frontend] NFC: Remove unused parameter
1 parent 39940dc commit 0f26cb7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Frontend/ArgsToFrontendOutputsConverter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ OutputFilesComputer::create(const llvm::opt::ArgList &args,
118118
}
119119

120120
return OutputFilesComputer(
121-
args, diags, inputsAndOutputs, std::move(outputFileArguments),
121+
diags, inputsAndOutputs, std::move(outputFileArguments),
122122
outputDirectoryArgument, firstInput, requestedAction,
123123
args.getLastArg(options::OPT_module_name),
124124
FrontendOptions::suffixForPrincipalOutputFileForAction(requestedAction),
125125
FrontendOptions::doesActionProduceTextualOutput(requestedAction));
126126
}
127127

128128
OutputFilesComputer::OutputFilesComputer(
129-
const llvm::opt::ArgList &args, DiagnosticEngine &diags,
129+
DiagnosticEngine &diags,
130130
const FrontendInputsAndOutputs &inputsAndOutputs,
131131
std::vector<std::string> outputFileArguments,
132132
const StringRef outputDirectoryArgument, const StringRef firstInput,

lib/Frontend/ArgsToFrontendOutputsConverter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class OutputFilesComputer {
6363
const StringRef Suffix;
6464
const bool HasTextualOutput;
6565

66-
OutputFilesComputer(const llvm::opt::ArgList &args, DiagnosticEngine &diags,
66+
OutputFilesComputer(DiagnosticEngine &diags,
6767
const FrontendInputsAndOutputs &inputsAndOutputs,
6868
std::vector<std::string> outputFileArguments,
6969
StringRef outputDirectoryArgument, StringRef firstInput,

0 commit comments

Comments
 (0)