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.

17 lines
404 B

11 years ago
#ifndef COMPILECOMMAND_H_
#define COMPILECOMMAND_H_
#include <clang-c/CXCompilationDatabase.h>
11 years ago
#include <vector>
namespace clang {
class CompileCommand {
public:
CompileCommand(const CXCompileCommand& cx_command) : cx_command(cx_command) {};
11 years ago
std::string get_command();
std::vector<std::string> get_command_as_args();
CXCompileCommand cx_command;
11 years ago
};
}
#endif // COMPILECOMMAND_H_