forked from OSchip/llvm-project
Accommodate interface change in r252134.
llvm-svn: 252138
This commit is contained in:
parent
7ae928ed8c
commit
0caf6dadce
|
@ -356,7 +356,8 @@ static std::string findInputFile(const CommandLineArguments &CLArgs) {
|
||||||
// if no other "-x" option is present.
|
// if no other "-x" option is present.
|
||||||
static ArgumentsAdjuster
|
static ArgumentsAdjuster
|
||||||
getModularizeArgumentsAdjuster(DependencyMap &Dependencies) {
|
getModularizeArgumentsAdjuster(DependencyMap &Dependencies) {
|
||||||
return [&Dependencies](const CommandLineArguments &Args) {
|
return [&Dependencies](const CommandLineArguments &Args,
|
||||||
|
StringRef /*unused*/) {
|
||||||
std::string InputFile = findInputFile(Args);
|
std::string InputFile = findInputFile(Args);
|
||||||
DependentsVector &FileDependents = Dependencies[InputFile];
|
DependentsVector &FileDependents = Dependencies[InputFile];
|
||||||
CommandLineArguments NewArgs(Args);
|
CommandLineArguments NewArgs(Args);
|
||||||
|
|
Loading…
Reference in New Issue