ccls/libclangmm/CompileCommand.h

17 lines
325 B
C
Raw Normal View History

2017-02-22 08:52:00 +00:00
#pragma once
2017-02-16 09:35:30 +00:00
#include <clang-c/CXCompilationDatabase.h>
#include <vector>
#include <string>
namespace clang {
2017-02-22 08:52:00 +00:00
class CompileCommand {
public:
CompileCommand(const CXCompileCommand& cx_command);
std::string get_command() const;
std::vector<std::string> get_command_as_args() const;
2017-02-16 09:35:30 +00:00
2017-02-22 08:52:00 +00:00
CXCompileCommand cx_command;
};
2017-02-16 09:35:30 +00:00
}