diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2025-02-28 15:13:05 +0100 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2025-02-28 15:13:27 +0100 |
commit | 9e2eb95c238d5d7b059da766b24e5a01c683bf7a (patch) | |
tree | c28ee367b8b1061ff9526d596320cf6a7ccaea2b /clang/unittests/Frontend | |
parent | c298f71ea6fd2965e1768307496ee3aa0c40fd07 (diff) | |
download | llvm-9e2eb95c238d5d7b059da766b24e5a01c683bf7a.zip llvm-9e2eb95c238d5d7b059da766b24e5a01c683bf7a.tar.gz llvm-9e2eb95c238d5d7b059da766b24e5a01c683bf7a.tar.bz2 |
[Coroutines] [CodeGen] Don't actually emit an output file from unit test
Diffstat (limited to 'clang/unittests/Frontend')
-rw-r--r-- | clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp b/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp index e7a3bf5..fed2d25 100644 --- a/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp +++ b/clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp @@ -52,11 +52,10 @@ public: } }; -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 { |