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

20 lines
363 B
C++

#pragma once
#include <string>
#include <vector>
#include <clang-c/CXCompilationDatabase.h>
#include "CompilationDatabase.h"
#include "CompileCommand.h"
namespace clang {
class CompileCommands {
public:
CompileCommands(const CompilationDatabase& db);
std::vector<CompileCommand> get_commands();
~CompileCommands();
CXCompileCommands cx_commands;
};
}