Lines Matching refs:fallthrough
7 [[fallthrough]]; // ok in f()
10 [[fallthrough]]; // ok in f()
16 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
19 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
22 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
24 do [[fallthrough]]; while (true); // expected-error {{does not directly precede switch label}} in f()
26 do [[fallthrough]]; while (false); // expected-error {{does not directly precede switch label}} in f()
32 [[fallthrough]]; in f()
35 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
46 [[fallthrough]] typedef int n; // expected-error {{'fallthrough' attribute cannot be applied to a d…
47 typedef int [[fallthrough]] n; // expected-error {{'fallthrough' attribute cannot be applied to typ…
48 typedef int n [[fallthrough]]; // expected-error {{'fallthrough' attribute cannot be applied to a d…
50 enum [[fallthrough]] E {}; // expected-error {{'fallthrough' attribute cannot be applied to a decla…
51 class [[fallthrough]] C {}; // expected-error {{'fallthrough' attribute cannot be applied to a decl…
53 [[fallthrough]] // expected-error {{'fallthrough' attribute cannot be applied to a declaration}}
55 …[[fallthrough]] int n; // expected-error {{'fallthrough' attribute cannot be applied to a declarat… in g()
56 …[[fallthrough]] ++n; // expected-error-re {{{{^}}fallthrough attribute is only allowed on empty st… in g()
60 [[fallthrough]]; in g()
64 [[fallthrough, fallthrough]]; // expected-error {{multiple times}} in g()
66 [[fallthrough(0)]]; // expected-error {{argument list}} in g()