================
@@ -1282,7 +1282,7 @@ void testSwitchCoverAllCase(M m) {
break;
}
}
-// CIR: cir.switch(%[[ARG:.*]] : !s32i) allEnumCasesCovered {
+// CIR: cir.switch(%[[ARG:.*]] : !s32i) allEnumCasesCovered handling_enum {
----------------
badumbatish wrote:
I think the problem is what if we're handling enum but then not all enum cases
are covered? then using a single boolean we wouldn't be able to tell if the
switch argument is an enum or not
https://github.com/llvm/llvm-project/pull/172236
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits