mirror of https://gitlab.com/cppit/libclangmm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
468 B
21 lines
468 B
|
11 years ago
|
#ifndef COMPILATIONDATABASE_H_
|
||
|
|
#define COMPILATIONDATABASE_H_
|
||
|
|
#include <clang-c/CXCompilationDatabase.h>
|
||
|
|
#include <clang-c/Index.h>
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
namespace clang {
|
||
|
|
class CompileCommands;
|
||
|
|
class CompilationDatabase {
|
||
|
|
public:
|
||
|
|
explicit CompilationDatabase(const std::string &project_path);
|
||
|
|
CompilationDatabase();
|
||
|
|
~CompilationDatabase();
|
||
|
|
private:
|
||
|
|
CXCompilationDatabase db_;
|
||
|
|
friend CompileCommands;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif // COMPILATIONDATABASE_H_
|