]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344400 91177308-0d34-0410-b5e6-96231b3b80d8

examples/clang-interpreter/main.cpp

index 3f87be29a979438f6ba00a9fc8d3bd7589b08549..5a8dcbddfa8f471e455b614d4f549291a921dedf 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()),