mirror of https://gitlab.com/cppit/libclangmm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
391 B
11 lines
391 B
#include "CompileCommand.h" |
|
#include "CompileCommands.h" |
|
#include "Utility.h" |
|
|
|
std::vector<std::string> clangmm::CompileCommand::get_arguments() { |
|
unsigned size = clang_CompileCommand_getNumArgs(cx_command); |
|
std::vector<std::string> arguments; |
|
for (unsigned i = 0; i < size; i++) |
|
arguments.emplace_back(to_string(clang_CompileCommand_getArg(cx_command, i))); |
|
return arguments; |
|
}
|
|
|