[clang-tools-extra] r252138 - Accommodate interface change in r252134.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 18:30:21 PST 2015
Author: alexfh
Date: Wed Nov 4 20:30:21 2015
New Revision: 252138
URL: http://llvm.org/viewvc/llvm-project?rev=252138&view=rev
Log:
Accommodate interface change in r252134.
Modified:
clang-tools-extra/trunk/modularize/Modularize.cpp
Modified: clang-tools-extra/trunk/modularize/Modularize.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/modularize/Modularize.cpp?rev=252138&r1=252137&r2=252138&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/Modularize.cpp (original)
+++ clang-tools-extra/trunk/modularize/Modularize.cpp Wed Nov 4 20:30:21 2015
@@ -356,7 +356,8 @@ static std::string findInputFile(const C
// 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);
More information about the cfe-commits
mailing list