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