[clang-tools-extra] r240239 - Update for ParseARgs ArrayRef-ification
David Blaikie
dblaikie at gmail.com
Sat Jun 20 23:58:19 PDT 2015
Author: dblaikie
Date: Sun Jun 21 01:58:19 2015
New Revision: 240239
URL: http://llvm.org/viewvc/llvm-project?rev=240239&view=rev
Log:
Update for ParseARgs ArrayRef-ification
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=240239&r1=240238&r2=240239&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/Modularize.cpp (original)
+++ clang-tools-extra/trunk/modularize/Modularize.cpp Sun Jun 21 01:58:19 2015
@@ -323,9 +323,8 @@ static std::string findInputFile(const C
E = CLArgs.end();
I != E; ++I)
Argv.push_back(I->c_str());
- std::unique_ptr<InputArgList> Args(
- Opts->ParseArgs(Argv.data(), Argv.data() + Argv.size(), MissingArgIndex,
- MissingArgCount, IncludedFlagsBitmask));
+ std::unique_ptr<InputArgList> Args(Opts->ParseArgs(
+ Argv, MissingArgIndex, MissingArgCount, IncludedFlagsBitmask));
std::vector<std::string> Inputs = Args->getAllArgValues(OPT_INPUT);
return ModularizeUtilities::getCanonicalPath(Inputs.back());
}
More information about the cfe-commits
mailing list