[clang] [CIR] Upstream support for switch statements case kinds (PR #138003)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu May 1 10:36:57 PDT 2025
================
@@ -253,6 +253,7 @@ mlir::LogicalResult CIRGenFunction::emitSimpleStmt(const Stmt *s,
case Stmt::NullStmtClass:
break;
case Stmt::CaseStmtClass:
+ case Stmt::DefaultStmtClass:
----------------
erichkeane wrote:
What does 'top level' switch case mean here? I realize it is pre-existing, but trying to grok what is going on here
https://github.com/llvm/llvm-project/pull/138003
More information about the cfe-commits
mailing list