Lines Matching full:fallthrough
11 void fallthrough(int n) {
17 [[fallthrough]];
18 case 3: // warning on fallthrough discouraged
20 [[fallthrough]];
21 // since-cxx17-error@-1 {{fallthrough annotation does not directly precede switch label}}
25 [[fallthrough]];
26 // since-cxx17-error@-1 {{fallthrough annotation does not directly precede switch label}}
30 [[fallthrough]];
31 // since-cxx17-error@-1 {{fallthrough annotation does not directly precede switch label}}
35 case 4: // implementation may warn on fallthrough
37 [[fallthrough]];
38 // since-cxx17-error@-1 {{fallthrough annotation does not directly precede switch label}}