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.

20 lines
469 B

11 years ago
#ifndef COMPILECOMMANDS_H_
#define COMPILECOMMANDS_H_
#include "CompilationDatabase.h"
#include "CompileCommand.h"
#include <clang-c/CXCompilationDatabase.h>
#include <string>
#include <vector>
namespace clang {
class CompileCommands {
public:
CompileCommands(const std::string &filename, CompilationDatabase &db);
11 years ago
std::vector<CompileCommand> get_commands();
~CompileCommands();
CXCompileCommands cx_commands;
11 years ago
};
}
#endif // COMPILECOMMANDS_H_