Home
last modified time | relevance | path

Searched refs:MY_CASE (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
Dswitch-implicit-fallthrough-cxx98.cpp99 #define MY_CASE(X, Y) case X: Y macro
106 MY_CASE(33, n += 2); in fallthrough_macro1()
107 MY_CASE(44, break); // expected-warning{{unannotated fall-through between switch labels}} in fallthrough_macro1()
108 MY_CASE(55, n += 3); in fallthrough_macro1()
112 MY_CASE(333, return 333); in fallthrough_macro1()
114 MY_CASE(555, n += 33); in fallthrough_macro1()
117 …MY_SWITCH2(n + 4, MY_CASE(17, n *= 3), MY_CASE(19, break)) // expected-warning{{unannotated fall-… in fallthrough_macro1()
119 …MY_SWITCH2(n + 5, MY_CASE(21, break), MY_CASE2(23, n *= 7, 25, break)) // expected-warning{{unann… in fallthrough_macro1()
Dswitch-implicit-fallthrough.cpp150 #define MY_CASE(X, Y) case X: Y macro
157 MY_CASE(33, n += 2); in fallthrough_macro1()
158 MY_CASE(44, break); // expected-warning{{unannotated fall-through between switch labels}} in fallthrough_macro1()
159 MY_CASE(55, n += 3); in fallthrough_macro1()
163 MY_CASE(333, return 333); in fallthrough_macro1()
165 MY_CASE(555, n += 33); in fallthrough_macro1()
168 …MY_SWITCH2(n + 4, MY_CASE(17, n *= 3), MY_CASE(19, break)) // expected-warning{{unannotated fall-… in fallthrough_macro1()
170 …MY_SWITCH2(n + 5, MY_CASE(21, break), MY_CASE2(23, n *= 7, 25, break)) // expected-warning{{unann… in fallthrough_macro1()