Lines Matching full:case
16 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: switch with only one case; use an if statement in bad_switch()
17 case 0: in bad_switch()
23 case 0: in bad_switch()
25 case 1: in bad_switch()
27 case 2: in bad_switch()
38 case 0: in bad_switch()
39 case 1: in bad_switch()
40 case 2: in bad_switch()
44 // Degenerated, only default case. in bad_switch()
51 // Degenerated, only one case label and default case -> Better as if-stmt. in bad_switch()
54 case 0: in bad_switch()
63 case 0: in bad_switch()
64 case 1: in bad_switch()
71 case 0: in bad_switch()
72 case 1: in bad_switch()
79 case 'A': in bad_switch()
81 case 'B': in bad_switch()
89 case 0: in bad_switch()
90 case 1: in bad_switch()
95 case 0: in bad_switch()
96 case 1: in bad_switch()
97 case 2: in bad_switch()
98 case 3: in bad_switch()
99 case 4: in bad_switch()
100 case 5: in bad_switch()
101 case 6: in bad_switch()
102 case 7: in bad_switch()
107 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: switch with only one case; use an if statement in bad_switch()
108 case 0: in bad_switch()
113 case 0: in bad_switch()
114 case 1: in bad_switch()
120 // CHECK-MESSAGES:[[@LINE-1]]:3: warning: switch with only one case; use an if statement in bad_switch()
121 case true: in bad_switch()
134 case true: in bad_switch()
136 case false: in bad_switch()
144 case 0: in unproblematic_switch()
145 case 1: in unproblematic_switch()
146 case 2: in unproblematic_switch()
147 case 3: in unproblematic_switch()
148 case 4: in unproblematic_switch()
149 case 5: in unproblematic_switch()
150 case 6: in unproblematic_switch()
151 case 7: in unproblematic_switch()
152 case 8: in unproblematic_switch()
153 case 9: in unproblematic_switch()
154 case 10: in unproblematic_switch()
155 case 11: in unproblematic_switch()
156 case 12: in unproblematic_switch()
157 case 13: in unproblematic_switch()
158 case 14: in unproblematic_switch()
159 case 15: in unproblematic_switch()
160 case 16: in unproblematic_switch()
161 case 17: in unproblematic_switch()
162 case 18: in unproblematic_switch()
163 case 19: in unproblematic_switch()
164 case 20: in unproblematic_switch()
165 case 21: in unproblematic_switch()
166 case 22: in unproblematic_switch()
167 case 23: in unproblematic_switch()
168 case 24: in unproblematic_switch()
169 case 25: in unproblematic_switch()
170 case 26: in unproblematic_switch()
171 case 27: in unproblematic_switch()
172 case 28: in unproblematic_switch()
173 case 29: in unproblematic_switch()
174 case 30: in unproblematic_switch()
175 case 31: in unproblematic_switch()
176 case 32: in unproblematic_switch()
177 case 33: in unproblematic_switch()
178 case 34: in unproblematic_switch()
179 case 35: in unproblematic_switch()
180 case 36: in unproblematic_switch()
181 case 37: in unproblematic_switch()
182 case 38: in unproblematic_switch()
183 case 39: in unproblematic_switch()
184 case 40: in unproblematic_switch()
185 case 41: in unproblematic_switch()
186 case 42: in unproblematic_switch()
187 case 43: in unproblematic_switch()
188 case 44: in unproblematic_switch()
189 case 45: in unproblematic_switch()
190 case 46: in unproblematic_switch()
191 case 47: in unproblematic_switch()
192 case 48: in unproblematic_switch()
193 case 49: in unproblematic_switch()
194 case 50: in unproblematic_switch()
195 case 51: in unproblematic_switch()
196 case 52: in unproblematic_switch()
197 case 53: in unproblematic_switch()
198 case 54: in unproblematic_switch()
199 case 55: in unproblematic_switch()
200 case 56: in unproblematic_switch()
201 case 57: in unproblematic_switch()
202 case 58: in unproblematic_switch()
203 case 59: in unproblematic_switch()
204 case 60: in unproblematic_switch()
205 case 61: in unproblematic_switch()
206 case 62: in unproblematic_switch()
207 case 63: in unproblematic_switch()
208 case 64: in unproblematic_switch()
209 case 65: in unproblematic_switch()
210 case 66: in unproblematic_switch()
211 case 67: in unproblematic_switch()
212 case 68: in unproblematic_switch()
213 case 69: in unproblematic_switch()
214 case 70: in unproblematic_switch()
215 case 71: in unproblematic_switch()
216 case 72: in unproblematic_switch()
217 case 73: in unproblematic_switch()
218 case 74: in unproblematic_switch()
219 case 75: in unproblematic_switch()
220 case 76: in unproblematic_switch()
221 case 77: in unproblematic_switch()
222 case 78: in unproblematic_switch()
223 case 79: in unproblematic_switch()
224 case 80: in unproblematic_switch()
225 case 81: in unproblematic_switch()
226 case 82: in unproblematic_switch()
227 case 83: in unproblematic_switch()
228 case 84: in unproblematic_switch()
229 case 85: in unproblematic_switch()
230 case 86: in unproblematic_switch()
231 case 87: in unproblematic_switch()
232 case 88: in unproblematic_switch()
233 case 89: in unproblematic_switch()
234 case 90: in unproblematic_switch()
235 case 91: in unproblematic_switch()
236 case 92: in unproblematic_switch()
237 case 93: in unproblematic_switch()
238 case 94: in unproblematic_switch()
239 case 95: in unproblematic_switch()
240 case 96: in unproblematic_switch()
241 case 97: in unproblematic_switch()
242 case 98: in unproblematic_switch()
243 case 99: in unproblematic_switch()
244 case 100: in unproblematic_switch()
245 case 101: in unproblematic_switch()
246 case 102: in unproblematic_switch()
247 case 103: in unproblematic_switch()
248 case 104: in unproblematic_switch()
249 case 105: in unproblematic_switch()
250 case 106: in unproblematic_switch()
251 case 107: in unproblematic_switch()
252 case 108: in unproblematic_switch()
253 case 109: in unproblematic_switch()
254 case 110: in unproblematic_switch()
255 case 111: in unproblematic_switch()
256 case 112: in unproblematic_switch()
257 case 113: in unproblematic_switch()
258 case 114: in unproblematic_switch()
259 case 115: in unproblematic_switch()
260 case 116: in unproblematic_switch()
261 case 117: in unproblematic_switch()
262 case 118: in unproblematic_switch()
263 case 119: in unproblematic_switch()
264 case 120: in unproblematic_switch()
265 case 121: in unproblematic_switch()
266 case 122: in unproblematic_switch()
267 case 123: in unproblematic_switch()
268 case 124: in unproblematic_switch()
269 case 125: in unproblematic_switch()
270 case 126: in unproblematic_switch()
271 case 127: in unproblematic_switch()
272 case 128: in unproblematic_switch()
273 case 129: in unproblematic_switch()
274 case 130: in unproblematic_switch()
275 case 131: in unproblematic_switch()
276 case 132: in unproblematic_switch()
277 case 133: in unproblematic_switch()
278 case 134: in unproblematic_switch()
279 case 135: in unproblematic_switch()
280 case 136: in unproblematic_switch()
281 case 137: in unproblematic_switch()
282 case 138: in unproblematic_switch()
283 case 139: in unproblematic_switch()
284 case 140: in unproblematic_switch()
285 case 141: in unproblematic_switch()
286 case 142: in unproblematic_switch()
287 case 143: in unproblematic_switch()
288 case 144: in unproblematic_switch()
289 case 145: in unproblematic_switch()
290 case 146: in unproblematic_switch()
291 case 147: in unproblematic_switch()
292 case 148: in unproblematic_switch()
293 case 149: in unproblematic_switch()
294 case 150: in unproblematic_switch()
295 case 151: in unproblematic_switch()
296 case 152: in unproblematic_switch()
297 case 153: in unproblematic_switch()
298 case 154: in unproblematic_switch()
299 case 155: in unproblematic_switch()
300 case 156: in unproblematic_switch()
301 case 157: in unproblematic_switch()
302 case 158: in unproblematic_switch()
303 case 159: in unproblematic_switch()
304 case 160: in unproblematic_switch()
305 case 161: in unproblematic_switch()
306 case 162: in unproblematic_switch()
307 case 163: in unproblematic_switch()
308 case 164: in unproblematic_switch()
309 case 165: in unproblematic_switch()
310 case 166: in unproblematic_switch()
311 case 167: in unproblematic_switch()
312 case 168: in unproblematic_switch()
313 case 169: in unproblematic_switch()
314 case 170: in unproblematic_switch()
315 case 171: in unproblematic_switch()
316 case 172: in unproblematic_switch()
317 case 173: in unproblematic_switch()
318 case 174: in unproblematic_switch()
319 case 175: in unproblematic_switch()
320 case 176: in unproblematic_switch()
321 case 177: in unproblematic_switch()
322 case 178: in unproblematic_switch()
323 case 179: in unproblematic_switch()
324 case 180: in unproblematic_switch()
325 case 181: in unproblematic_switch()
326 case 182: in unproblematic_switch()
327 case 183: in unproblematic_switch()
328 case 184: in unproblematic_switch()
329 case 185: in unproblematic_switch()
330 case 186: in unproblematic_switch()
331 case 187: in unproblematic_switch()
332 case 188: in unproblematic_switch()
333 case 189: in unproblematic_switch()
334 case 190: in unproblematic_switch()
335 case 191: in unproblematic_switch()
336 case 192: in unproblematic_switch()
337 case 193: in unproblematic_switch()
338 case 194: in unproblematic_switch()
339 case 195: in unproblematic_switch()
340 case 196: in unproblematic_switch()
341 case 197: in unproblematic_switch()
342 case 198: in unproblematic_switch()
343 case 199: in unproblematic_switch()
344 case 200: in unproblematic_switch()
345 case 201: in unproblematic_switch()
346 case 202: in unproblematic_switch()
347 case 203: in unproblematic_switch()
348 case 204: in unproblematic_switch()
349 case 205: in unproblematic_switch()
350 case 206: in unproblematic_switch()
351 case 207: in unproblematic_switch()
352 case 208: in unproblematic_switch()
353 case 209: in unproblematic_switch()
354 case 210: in unproblematic_switch()
355 case 211: in unproblematic_switch()
356 case 212: in unproblematic_switch()
357 case 213: in unproblematic_switch()
358 case 214: in unproblematic_switch()
359 case 215: in unproblematic_switch()
360 case 216: in unproblematic_switch()
361 case 217: in unproblematic_switch()
362 case 218: in unproblematic_switch()
363 case 219: in unproblematic_switch()
364 case 220: in unproblematic_switch()
365 case 221: in unproblematic_switch()
366 case 222: in unproblematic_switch()
367 case 223: in unproblematic_switch()
368 case 224: in unproblematic_switch()
369 case 225: in unproblematic_switch()
370 case 226: in unproblematic_switch()
371 case 227: in unproblematic_switch()
372 case 228: in unproblematic_switch()
373 case 229: in unproblematic_switch()
374 case 230: in unproblematic_switch()
375 case 231: in unproblematic_switch()
376 case 232: in unproblematic_switch()
377 case 233: in unproblematic_switch()
378 case 234: in unproblematic_switch()
379 case 235: in unproblematic_switch()
380 case 236: in unproblematic_switch()
381 case 237: in unproblematic_switch()
382 case 238: in unproblematic_switch()
383 case 239: in unproblematic_switch()
384 case 240: in unproblematic_switch()
385 case 241: in unproblematic_switch()
386 case 242: in unproblematic_switch()
387 case 243: in unproblematic_switch()
388 case 244: in unproblematic_switch()
389 case 245: in unproblematic_switch()
390 case 246: in unproblematic_switch()
391 case 247: in unproblematic_switch()
392 case 248: in unproblematic_switch()
393 case 249: in unproblematic_switch()
394 case 250: in unproblematic_switch()
395 case 251: in unproblematic_switch()
396 case 252: in unproblematic_switch()
397 case 253: in unproblematic_switch()
398 case 254: in unproblematic_switch()
399 case 255: in unproblematic_switch()
403 // Some paths are covered by the switch and a default case is present. in unproblematic_switch()
405 case 1: in unproblematic_switch()
406 case 2: in unproblematic_switch()
407 case 3: in unproblematic_switch()
419 // -Wswitch warns about uncovered enum paths and each here described case is already
423 case Linux: in switch_enums()
428 case Linux: in switch_enums()