mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
19 lines
381 B
C++
19 lines
381 B
C++
#ifndef COMPILATIONDATABASE_H_
|
|
#define COMPILATIONDATABASE_H_
|
|
|
|
#include <clang-c/CXCompilationDatabase.h>
|
|
#include <clang-c/Index.h>
|
|
#include <string>
|
|
|
|
namespace clang {
|
|
class CompilationDatabase {
|
|
public:
|
|
explicit CompilationDatabase(const std::string &project_path);
|
|
~CompilationDatabase();
|
|
|
|
CXCompilationDatabase cx_db;
|
|
};
|
|
}
|
|
|
|
#endif // COMPILATIONDATABASE_H_
|