Author: Benjamin Kramer Date: 2025-02-28T15:13:27+01:00 New Revision: 9e2eb95c238d5d7b059da766b24e5a01c683bf7a
URL: https://github.com/llvm/llvm-project/commit/9e2eb95c238d5d7b059da766b24e5a01c683bf7a DIFF: https://github.com/llvm/llvm-project/commit/9e2eb95c238d5d7b059da766b24e5a01c683bf7a.diff LOG: [Coroutines] [CodeGen] Don't actually emit an output file from unit test Added: Modified: clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp Removed: ################################################################################ diff --git a/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp b/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp index e7a3bf5a7f87a..fed2d255a9fe8 100644 --- a/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp +++ b/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp @@ -52,11 +52,10 @@ class ASTCheckerConsumer : public ASTConsumer { } }; -class TestCodeGenAction : public EmitLLVMAction { +class TestCodeGenAction : public EmitLLVMOnlyAction { public: - using Base = EmitLLVMAction; - TestCodeGenAction(llvm::LLVMContext *_VMContext = nullptr) - : EmitLLVMAction(_VMContext) {} + using Base = EmitLLVMOnlyAction; + using Base::Base; std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, StringRef InFile) override { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits