mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
21 lines
331 B
C++
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;
|
|
};
|
|
}
|