implement Compiler.h
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <clang/Tooling/CompilationDatabase.h>
|
||||
#include <clang/Tooling/Syntax/Tokens.h>
|
||||
|
||||
|
||||
namespace clice {
|
||||
|
||||
using llvm::StringRef;
|
||||
|
||||
@@ -4,12 +4,15 @@
|
||||
|
||||
namespace clice {
|
||||
|
||||
inline CompilerInvocation createCompilerInvocation() {
|
||||
|
||||
}
|
||||
auto createCompilerInvocation(clang::tooling::CompileCommand& command,
|
||||
std::vector<std::string>* extraArgs,
|
||||
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
|
||||
clang::DiagnosticConsumer& consumer) -> std::unique_ptr<CompilerInvocation>;
|
||||
|
||||
inline CompilerInstance createCompilerInstance() {
|
||||
|
||||
}
|
||||
auto createCompilerInstance(std::unique_ptr<CompilerInvocation> invocation,
|
||||
const clang::PrecompiledPreamble* preamble,
|
||||
std::unique_ptr<llvm::MemoryBuffer> content,
|
||||
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
|
||||
clang::DiagnosticConsumer& consumer) -> std::unique_ptr<CompilerInstance>;
|
||||
|
||||
} // namespace clice
|
||||
|
||||
Reference in New Issue
Block a user