ccls/libclangmm/CompilationDatabase.h
Jacob Dufault ce4c2232d7 update
2017-02-22 00:52:00 -08:00

21 lines
331 B
C++

#pragma once
#include <string>
#include <clang-c/CXCompilationDatabase.h>
namespace clang {
struct CompilationCommand {
std::string path;
std::string args;
};
class CompilationDatabase {
public:
explicit CompilationDatabase(const std::string &project_path);
~CompilationDatabase();
CXCompilationDatabase cx_db;
};
}