efriedma-quic wrote: > Ideally, I’d like to find some approach that provides 1, 2, and 3.
I don't see how you can get all three without new syntax. If we have "default" cases that are supposed to include enum constants, and "default" cases that aren't supposed to include enum constants, there's no way to distinguish them. If we're willing to take new syntax, there's a variety of approaches. https://github.com/llvm/llvm-project/pull/198416 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
