Lines Matching refs:clang
55 [[clang::fallthrough]]; in fallthrough()
58 [[clang::fallthrough]]; in fallthrough()
63 [[clang::fallthrough]]; in fallthrough()
70 [[clang::fallthrough]]; in fallthrough()
182 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swi… in fallthrough_position()
184 [[clang::fallthrough]]; // expected-warning{{fallthrough annotation in unreachable code}} in fallthrough_position()
186 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swi… in fallthrough_position()
188 [[clang::fallthrough]]; // expected-warning{{fallthrough annotation in unreachable code}} in fallthrough_position()
190 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swi… in fallthrough_position()
193 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swit… in fallthrough_position()
200 [[clang::fallthrough]]; // no warning here in fallthrough_position()
203 [[clang::fallthrough]]; // no warning here in fallthrough_position()
221 [[clang::fallthrough]]; // no warning here, this shouldn't be treated as unreachable code in fallthrough_covered_enums()
240 [[clang::fallthrough]]; // no diagnostics in fallthrough_in_local_class()
260 [[clang::fallthrough]]; // no diagnostics in fallthrough_in_lambda()
286 [[clang::fallthrough]]; // expected-error{{fallthrough annotation is outside switch statement}} in fallthrough_targets()
288 …[[clang::fallthrough]] // expected-error{{fallthrough attribute is only allowed on empty statemen… in fallthrough_targets()
292 [[clang::fallthrough]]; // no warning here, correct target in fallthrough_targets()
294 …[[clang::fallthrough]] // expected-error{{fallthrough attribute is only allowed on empty statemen… in fallthrough_targets()
297 …[[clang::fallthrough]] // expected-error{{fallthrough attribute is only allowed on empty statem… in fallthrough_targets()