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.
17 lines
374 B
17 lines
374 B
|
11 years ago
|
#ifndef COMPILECOMMAND_H_
|
||
|
|
#define COMPILECOMMAND_H_
|
||
|
|
#include "CompilationDatabase.h"
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
namespace clang {
|
||
|
|
class CompileCommand {
|
||
|
|
public:
|
||
|
|
CompileCommand(int nth, CompileCommands *commands);
|
||
|
|
std::string get_command();
|
||
|
|
std::vector<std::string> get_command_as_args();
|
||
|
|
private:
|
||
|
|
CXCompileCommand command_;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
#endif // COMPILECOMMAND_H_
|