Fix a clang::driver::ArgStringList usage I missed in rL344398. NFCI.

llvm-svn: 344400
This commit is contained in:
Simon Pilgrim 2018-10-12 19:14:43 +00:00
parent 1d6b938132
commit c39a217412

View File

@ -164,7 +164,7 @@ int main(int argc, const char **argv) {
}
// Initialize a compiler invocation object from the clang (-cc1) arguments.
const driver::ArgStringList &CCArgs = Cmd.getArguments();
const llvm::opt::ArgStringList &CCArgs = Cmd.getArguments();
std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation);
CompilerInvocation::CreateFromArgs(*CI,
const_cast<const char **>(CCArgs.data()),