mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 19:07:08 +00:00
18 lines
422 B
C
18 lines
422 B
C
|
#ifndef COMPILECOMMAND_H_
|
||
|
#define COMPILECOMMAND_H_
|
||
|
#include <clang-c/CXCompilationDatabase.h>
|
||
|
#include <vector>
|
||
|
#include <string>
|
||
|
|
||
|
namespace clang {
|
||
|
class CompileCommand {
|
||
|
public:
|
||
|
CompileCommand(const CXCompileCommand& cx_command) : cx_command(cx_command) {};
|
||
|
std::string get_command();
|
||
|
std::vector<std::string> get_command_as_args();
|
||
|
|
||
|
CXCompileCommand cx_command;
|
||
|
};
|
||
|
}
|
||
|
#endif // COMPILECOMMAND_H_
|