Fix a clang::driver::ArgStringList usage I missed in rL344398. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 12 Oct 2018 19:14:43 +0000 (19:14 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 12 Oct 2018 19:14:43 +0000 (19:14 +0000)
llvm-svn: 344400

clang/examples/clang-interpreter/main.cpp

index 3f87be2..5a8dcbd 100644 (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()),