Searched refs:MY_CASE (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang/test/SemaCXX/ |
D | switch-implicit-fallthrough-cxx98.cpp | 99 #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()
|
D | switch-implicit-fallthrough.cpp | 150 #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()
|
/external/clang/test/SemaCXX/ |
D | switch-implicit-fallthrough-cxx98.cpp | 99 #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()
|
D | switch-implicit-fallthrough.cpp | 150 #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()
|