ccls/libclangmm/CompilationDatabase.h

21 lines
331 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 <string>
2017-02-22 08:52:00 +00:00
#include <clang-c/CXCompilationDatabase.h>
2017-02-16 09:35:30 +00:00
namespace clang {
2017-02-22 08:52:00 +00:00
struct CompilationCommand {
std::string path;
std::string args;
};
2017-02-16 09:35:30 +00:00
2017-02-22 08:52:00 +00:00
class CompilationDatabase {
public:
explicit CompilationDatabase(const std::string &project_path);
~CompilationDatabase();
CXCompilationDatabase cx_db;
};
}