Accommodate interface change in r252134.

llvm-svn: 252138
This commit is contained in:
Alexander Kornienko 2015-11-05 02:30:21 +00:00
parent 7ae928ed8c
commit 0caf6dadce
1 changed files with 2 additions and 1 deletions

View File

@ -356,7 +356,8 @@ static std::string findInputFile(const CommandLineArguments &CLArgs) {
// if no other "-x" option is present.
static ArgumentsAdjuster
getModularizeArgumentsAdjuster(DependencyMap &Dependencies) {
return [&Dependencies](const CommandLineArguments &Args) {
return [&Dependencies](const CommandLineArguments &Args,
StringRef /*unused*/) {
std::string InputFile = findInputFile(Args);
DependentsVector &FileDependents = Dependencies[InputFile];
CommandLineArguments NewArgs(Args);