Loading tools/clang-wrapper/qcor_clang_wrapper.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,7 @@ std::unique_ptr<clang::CodeGenAction> emit_llvm_ir(const std::string src_code) { llvm::InitializeNativeTarget(); llvm::InitializeNativeTargetAsmPrinter(); std::remove("local_output.cpp"); // int Res = 255; // std::unique_ptr<llvm::LLVMContext> Ctx(Act->takeLLVMContext()); // std::unique_ptr<llvm::Module> Module = Act->takeModule(); Loading tools/qopt/passes/xacc-ir-transformation/tests/LLVMCompilerTester.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ TEST(LLVMCompilerTester, checkSimple) { std::make_pair("function-prototype", "void f(qreg q)")}; auto translated = llvm_compiler->translate(f, extra_data); EXPECT_TRUE(extra_data.key_exists_any_type("llvm-function")); std::cout << "translated:\n" << translated << "\n"; } Loading Loading
tools/clang-wrapper/qcor_clang_wrapper.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,7 @@ std::unique_ptr<clang::CodeGenAction> emit_llvm_ir(const std::string src_code) { llvm::InitializeNativeTarget(); llvm::InitializeNativeTargetAsmPrinter(); std::remove("local_output.cpp"); // int Res = 255; // std::unique_ptr<llvm::LLVMContext> Ctx(Act->takeLLVMContext()); // std::unique_ptr<llvm::Module> Module = Act->takeModule(); Loading
tools/qopt/passes/xacc-ir-transformation/tests/LLVMCompilerTester.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ TEST(LLVMCompilerTester, checkSimple) { std::make_pair("function-prototype", "void f(qreg q)")}; auto translated = llvm_compiler->translate(f, extra_data); EXPECT_TRUE(extra_data.key_exists_any_type("llvm-function")); std::cout << "translated:\n" << translated << "\n"; } Loading