================
@@ -91,12 +92,40 @@ void sw2(int a) {
// OGCG: [[SW_EPILOG]]:
// OGCG: ret void
+void sw3(int a) {
----------------
andykaylor wrote:
Please add tests for the GNU range case, including one where it would be in the
same group with other cases, like this:
```
void f(int x) {
switch (x) {
case 1:
case 2:
case 3 ... 6:
case 7:
break;
default:
break;
}
}
```
https://github.com/llvm/llvm-project/pull/138003
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits