mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
Fix a clang::driver::ArgStringList usage I missed in rL344398. NFCI.
llvm-svn: 344400
This commit is contained in:
parent
1d6b938132
commit
c39a217412
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user