================ @@ -15,18 +15,19 @@ void f(int n) { return; } case 2: + // FIXME: Should we emit an error {{fallthrough annotation does not directly precede switch label}}? ---------------- AaronBallman wrote:
Yeah that seems like a regression in behavior. https://github.com/llvm/llvm-project/pull/146224 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits