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.

12 lines
398 B

#include "compile_command.hpp"
#include "compile_commands.hpp"
#include "utility.hpp"
11 years ago
std::vector<std::string> clangmm::CompileCommand::get_arguments() {
8 years ago
unsigned size = clang_CompileCommand_getNumArgs(cx_command);
std::vector<std::string> arguments;
for(unsigned i = 0; i < size; i++)
8 years ago
arguments.emplace_back(to_string(clang_CompileCommand_getArg(cx_command, i)));
return arguments;
11 years ago
}