Skip to content

Commit 9e2eb95

Browse files
committed
[Coroutines] [CodeGen] Don't actually emit an output file from unit test
1 parent c298f71 commit 9e2eb95

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

clang/unittests/Frontend/NoAlterCodeGenActionTest.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ class ASTCheckerConsumer : public ASTConsumer {
5252
}
5353
};
5454

55-
class TestCodeGenAction : public EmitLLVMAction {
55+
class TestCodeGenAction : public EmitLLVMOnlyAction {
5656
public:
57-
using Base = EmitLLVMAction;
58-
TestCodeGenAction(llvm::LLVMContext *_VMContext = nullptr)
59-
: EmitLLVMAction(_VMContext) {}
57+
using Base = EmitLLVMOnlyAction;
58+
using Base::Base;
6059

6160
std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
6261
StringRef InFile) override {

0 commit comments

Comments
 (0)