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.
 
 

18 lines
407 B

#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();
~CompilationDatabase();
CXCompilationDatabase cx_db;
};
}
#endif // COMPILATIONDATABASE_H_