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