mirror of
https://github.com/MaskRay/ccls.git
synced 2025-03-21 16:26:16 +00:00
17 lines
325 B
C++
17 lines
325 B
C++
#pragma once
|
|
|
|
#include <clang-c/CXCompilationDatabase.h>
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace clang {
|
|
class CompileCommand {
|
|
public:
|
|
CompileCommand(const CXCompileCommand& cx_command);
|
|
std::string get_command() const;
|
|
std::vector<std::string> get_command_as_args() const;
|
|
|
|
CXCompileCommand cx_command;
|
|
};
|
|
}
|