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
398 B
11 lines
398 B
#include "compile_command.hpp" |
|
#include "compile_commands.hpp" |
|
#include "utility.hpp" |
|
|
|
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; |
|
}
|
|
|