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.
20 lines
473 B
20 lines
473 B
|
11 years ago
|
#ifndef COMPILECOMMANDS_H_
|
||
|
|
#define COMPILECOMMANDS_H_
|
||
|
8 years ago
|
#include "compilation_database.h"
|
||
|
|
#include "compile_command.h"
|
||
|
11 years ago
|
#include <clang-c/CXCompilationDatabase.h>
|
||
|
|
#include <string>
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
9 years ago
|
namespace clangmm {
|
||
|
11 years ago
|
class CompileCommands {
|
||
|
|
public:
|
||
|
11 years ago
|
CompileCommands(const std::string &filename, CompilationDatabase &db);
|
||
|
11 years ago
|
std::vector<CompileCommand> get_commands();
|
||
|
|
~CompileCommands();
|
||
|
11 years ago
|
|
||
|
11 years ago
|
CXCompileCommands cx_commands;
|
||
|
11 years ago
|
};
|
||
|
|
}
|
||
|
|
#endif // COMPILECOMMANDS_H_
|