Skip to content

Commit 0929429

Browse files
committed
Revert "[CIR] Fix warning in CIRGenAction.cpp (llvm#118389)"
This reverts commit eaa4eb2.
1 parent b77e24d commit 0929429

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/lib/CIR/FrontendAction/CIRGenAction.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ class CIRGenConsumer : public clang::ASTConsumer {
6666
MlirModule->print(*OutputStream, Flags);
6767
}
6868
break;
69+
default:
70+
llvm_unreachable("NYI: CIRGenAction other than EmitCIR");
71+
break;
6972
}
7073
}
7174
};

0 commit comments

Comments
 (0)