As highlighted by https://github.com/llvm/llvm-project/issues/57609
Give more control when using the AllowShortCaseLabelsOnASingleLine to not put fallthrough code onto the same line
switch (i) {
case 0: g(); [[fallthrough]];
case 1: f(); break;
}whether that fallthrough is marked with the attribute or implicit
switch (i) {
case 0:
case 1: return i;
case 2:
case 3: i *= 2; break;
}in these cases don't make them short
switch (i) {
case 0:
g();
[[fallthrough]];
case 1:
f();
break;
}switch (i) {
case 0:
case 1:
return i;
case 2:
case 3:
i *= 2;
break;
}