OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MY_CASE
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/SemaCXX/
switch-implicit-fallthrough-cxx98.cpp
99
#define
MY_CASE
(X, Y) case X: Y
106
MY_CASE
(33, n += 2);
107
MY_CASE
(44, break); // expected-warning{{unannotated fall-through between switch labels}}
108
MY_CASE
(55, n += 3);
112
MY_CASE
(333, return 333);
114
MY_CASE
(555, n += 33);
117
MY_SWITCH2(n + 4,
MY_CASE
(17, n *= 3),
MY_CASE
(19, break)) // expected-warning{{unannotated fall-through between switch labels}}
119
MY_SWITCH2(n + 5,
MY_CASE
(21, break), MY_CASE2(23, n *= 7, 25, break)) // expected-warning{{unannotated fall-through between switch labels}}
switch-implicit-fallthrough.cpp
150
#define
MY_CASE
(X, Y) case X: Y
157
MY_CASE
(33, n += 2);
158
MY_CASE
(44, break); // expected-warning{{unannotated fall-through between switch labels}}
159
MY_CASE
(55, n += 3);
163
MY_CASE
(333, return 333);
165
MY_CASE
(555, n += 33);
168
MY_SWITCH2(n + 4,
MY_CASE
(17, n *= 3),
MY_CASE
(19, break)) // expected-warning{{unannotated fall-through between switch labels}}
170
MY_SWITCH2(n + 5,
MY_CASE
(21, break), MY_CASE2(23, n *= 7, 25, break)) // expected-warning{{unannotated fall-through between switch labels}}
Completed in 417 milliseconds