QCOR
qcor_clang_wrapper.hpp
1 #pragma once
2 #include <memory>
3 
4 #include "llvm/IR/LLVMContext.h"
5 
6 namespace clang {
7 class CodeGenAction;
8 }
9 
10 namespace qcor {
11 
12 std::unique_ptr<clang::CodeGenAction> emit_llvm_ir(
13  const std::string src_code, std::vector<std::string> extra_headers = {});
14 
15 }
qcor
Definition: qcor_syntax_handler.cpp:15