Lines Matching full:messages
5 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_basic1()
8 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_basic1()
16 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_basic2()
20 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_basic2()
29 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_basic3()
33 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_basic3()
80 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_basic8()
84 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in test_basic8()
95 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_basic9()
101 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in test_basic9()
127 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_basic11()
137 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in test_basic11()
151 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_basic12()
153 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in test_basic12()
201 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: if with identical then and else branches [bugprone-bran… in test_macro1()
204 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in test_macro1()
214 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: if with identical then and else branches [bugprone-bran… in test_macro2()
218 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_macro2()
224 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_macro3()
228 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in test_macro3()
235 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_macro4()
238 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_macro4()
246 // CHECK-MESSAGES: :[[@LINE-1]]:14: warning: if with identical then and else branches [bugprone-bra… in test_macro5()
249 // CHECK-MESSAGES: :[[@LINE-1]]:14: note: else branch starts here in test_macro5()
258 // CHECK-MESSAGES: :[[@LINE-2]]:3: warning: if with identical then and else branches [bugprone-bran… in test_macro6()
260 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_macro6()
261 // CHECK-MESSAGES: :[[@LINE-8]]:28: note: expanded from macro 'OTHERWISE_INCREASE' in test_macro6()
274 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_macro7()
275 // CHECK-MESSAGES: :[[@LINE-9]]:5: note: expanded from macro 'COND_INCR' in test_macro7()
276 // CHECK-MESSAGES: :[[@LINE-3]]:3: note: else branch starts here in test_macro7()
277 // CHECK-MESSAGES: :[[@LINE-9]]:5: note: expanded from macro 'COND_INCR' in test_macro7()
286 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_macro9()
287 // CHECK-MESSAGES: :[[@LINE-21]]:5: note: expanded from macro 'COND_INCR' in test_macro9()
288 // CHECK-MESSAGES: :[[@LINE-3]]:3: note: else branch starts here in test_macro9()
289 // CHECK-MESSAGES: :[[@LINE-21]]:5: note: expanded from macro 'COND_INCR' in test_macro9()
296 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_macro10()
299 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_macro10()
321 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_macro12()
322 // CHECK-MESSAGES: :[[@LINE-8]]:12: note: expanded from macro 'IF' in test_macro12()
326 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_macro12()
327 // CHECK-MESSAGES: :[[@LINE-11]]:16: note: expanded from macro 'ELSE' in test_macro12()
340 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: switch has 3 consecutive identical branches [bugprone-b… in test_macro13()
350 // CHECK-MESSAGES: :[[@LINE-15]]:24: note: expanded from macro 'CASE' in test_macro13()
351 // CHECK-MESSAGES: :[[@LINE+1]]:9: note: last of these clones ends here in test_macro13()
355 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: switch has 2 consecutive identical branches [bugprone-b… in test_macro13()
360 // CHECK-MESSAGES: :[[@LINE-25]]:24: note: expanded from macro 'CASE' in test_macro13()
361 // CHECK-MESSAGES: :[[@LINE+2]]:9: note: last of these clones ends here in test_macro13()
362 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: switch has 2 consecutive identical branches [bugprone-b… in test_macro13()
369 // CHECK-MESSAGES: :[[@LINE-34]]:24: note: expanded from macro 'CASE' in test_macro13()
370 // CHECK-MESSAGES: :[[@LINE+2]]:12: note: last of these clones ends here in test_macro13()
371 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: switch has 2 consecutive identical branches [bugprone-b… in test_macro13()
378 // CHECK-MESSAGES: :[[@LINE-42]]:24: note: expanded from macro 'DEFAULT' in test_macro13()
379 // CHECK-MESSAGES: :[[@LINE+1]]:9: note: last of these clones ends here in test_macro13()
391 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: repeated branch body in conditional chain [bugprone-bra… in test_chain1()
393 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: end of the original in test_chain1()
395 // CHECK-MESSAGES: :[[@LINE+1]]:5: note: clone 1 starts here in test_chain1()
403 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: repeated branch body in conditional chain [bugprone-bra… in test_chain2()
405 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: end of the original in test_chain2()
407 // CHECK-MESSAGES: :[[@LINE+1]]:5: note: clone 1 starts here in test_chain2()
412 // CHECK-MESSAGES: :[[@LINE+1]]:5: note: clone 2 starts here in test_chain2()
418 // CHECK-MESSAGES: :[[@LINE-1]]:22: note: clone 3 starts here in test_chain2()
425 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: repeated branch body in conditional chain [bugprone-br… in test_chain3()
428 // CHECK-MESSAGES: :[[@LINE+1]]:4: note: end of the original in test_chain3()
430 // CHECK-MESSAGES: :[[@LINE-1]]:23: note: clone 1 starts here in test_chain3()
436 // CHECK-MESSAGES: :[[@LINE-1]]:21: note: clone 2 starts here in test_chain3()
445 // CHECK-MESSAGES: :[[@LINE-1]]:22: note: clone 3 starts here in test_chain3()
455 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: repeated branch body in conditional chain [bugprone-br… in test_chain4()
458 // CHECK-MESSAGES: :[[@LINE+1]]:4: note: end of the original in test_chain4()
460 // CHECK-MESSAGES: :[[@LINE-1]]:23: note: clone 1 starts here in test_chain4()
461 // CHECK-MESSAGES: :[[@LINE+8]]:21: note: clone 2 starts here in test_chain4()
462 // CHECK-MESSAGES: :[[@LINE+15]]:22: note: clone 3 starts here in test_chain4()
466 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: repeated branch body in conditional chain [bugprone-bra… in test_chain4()
468 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: end of the original in test_chain4()
481 // CHECK-MESSAGES: :[[@LINE-1]]:23: note: clone 1 starts here in test_chain4()
488 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: repeated branch body in conditional chain [bugprone-bra… in test_chain5()
490 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: end of the original in test_chain5()
492 // CHECK-MESSAGES: :[[@LINE+1]]:5: note: clone 1 starts here in test_chain5()
497 // CHECK-MESSAGES: :[[@LINE+1]]:5: note: clone 2 starts here in test_chain5()
503 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: clone 3 starts here in test_chain5()
510 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: repeated branch body in conditional chain [bugprone-br… in test_chain6()
513 // CHECK-MESSAGES: :[[@LINE+1]]:4: note: end of the original in test_chain6()
515 // CHECK-MESSAGES: :[[@LINE-1]]:23: note: clone 1 starts here in test_chain6()
521 // CHECK-MESSAGES: :[[@LINE-1]]:21: note: clone 2 starts here in test_chain6()
530 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: clone 3 starts here in test_chain6()
538 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_nested()
539 // CHECK-MESSAGES: :[[@LINE+27]]:5: note: else branch starts here in test_nested()
541 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: repeated branch body in conditional chain [bugprone-br… in test_nested()
542 // CHECK-MESSAGES: :[[@LINE+9]]:6: note: end of the original in test_nested()
543 // CHECK-MESSAGES: :[[@LINE+8]]:24: note: clone 1 starts here in test_nested()
544 // CHECK-MESSAGES: :[[@LINE+14]]:12: note: clone 2 starts here in test_nested()
546 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: if with identical then and else branches [bugprone-bran… in test_nested()
549 // CHECK-MESSAGES: :[[@LINE-1]]:7: note: else branch starts here in test_nested()
553 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: if with identical then and else branches [bugprone-bran… in test_nested()
556 // CHECK-MESSAGES: :[[@LINE-1]]:7: note: else branch starts here in test_nested()
560 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: if with identical then and else branches [bugprone-bran… in test_nested()
563 // CHECK-MESSAGES: :[[@LINE-1]]:7: note: else branch starts here in test_nested()
568 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: repeated branch body in conditional chain [bugprone-br… in test_nested()
569 // CHECK-MESSAGES: :[[@LINE+9]]:6: note: end of the original in test_nested()
570 // CHECK-MESSAGES: :[[@LINE+8]]:24: note: clone 1 starts here in test_nested()
571 // CHECK-MESSAGES: :[[@LINE+14]]:12: note: clone 2 starts here in test_nested()
573 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: if with identical then and else branches [bugprone-bran… in test_nested()
576 // CHECK-MESSAGES: :[[@LINE-1]]:7: note: else branch starts here in test_nested()
580 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: if with identical then and else branches [bugprone-bran… in test_nested()
583 // CHECK-MESSAGES: :[[@LINE-1]]:7: note: else branch starts here in test_nested()
587 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: if with identical then and else branches [bugprone-bran… in test_nested()
590 // CHECK-MESSAGES: :[[@LINE-1]]:7: note: else branch starts here in test_nested()
602 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_template_not_instantiated()
605 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_template_not_instantiated()
613 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_template_instantiated()
616 // CHECK-MESSAGES: :[[@LINE-1]]:3: note: else branch starts here in test_template_instantiated()
651 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in test_template_two_instances()
654 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in test_template_two_instances()
666 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: if with identical then and else branches [bugprone-bran… in inline_method()
669 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in inline_method()
677 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-bran… in other_method()
680 // CHECK-MESSAGES: :[[@LINE-1]]:5: note: else branch starts here in other_method()
689 // CHECK-MESSAGES: :[[@LINE+1]]:3: warning: switch has 2 consecutive identical branches [bugprone-b… in simple_switch()
694 // CHECK-MESSAGES: :[[@LINE-1]]:14: note: last of these clones ends here in simple_switch()
695 // CHECK-MESSAGES: :[[@LINE+1]]:3: warning: switch has 2 consecutive identical branches [bugprone-b… in simple_switch()
700 // CHECK-MESSAGES: :[[@LINE-1]]:14: note: last of these clones ends here in simple_switch()
701 // CHECK-MESSAGES: :[[@LINE+1]]:3: warning: switch has 2 consecutive identical branches [bugprone-b… in simple_switch()
706 // CHECK-MESSAGES: :[[@LINE-1]]:14: note: last of these clones ends here in simple_switch()
714 // CHECK-MESSAGES: :[[@LINE+1]]:3: warning: switch has 7 consecutive identical branches [bugprone-b… in long_sequence_switch()
729 // CHECK-MESSAGES: :[[@LINE-1]]:14: note: last of these clones ends here in long_sequence_switch()
735 // CHECK-MESSAGES: :[[@LINE+2]]:3: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
736 // CHECK-MESSAGES: :[[@LINE+114]]:6: note: last of these clones ends here in nested_switch()
739 // CHECK-MESSAGES: :[[@LINE+2]]:5: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
740 // CHECK-MESSAGES: :[[@LINE+33]]:8: note: last of these clones ends here in nested_switch()
743 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
750 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
754 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
761 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
765 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
772 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
777 // CHECK-MESSAGES: :[[@LINE+2]]:5: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
778 // CHECK-MESSAGES: :[[@LINE+33]]:8: note: last of these clones ends here in nested_switch()
781 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
788 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
792 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
799 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
803 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
810 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
815 // CHECK-MESSAGES: :[[@LINE+2]]:5: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
816 // CHECK-MESSAGES: :[[@LINE+33]]:8: note: last of these clones ends here in nested_switch()
819 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
826 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
830 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
837 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
841 // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: switch has 3 consecutive identical branches [bugprone-b… in nested_switch()
848 // CHECK-MESSAGES: :[[@LINE-1]]:18: note: last of these clones ends here in nested_switch()
914 // CHECK-MESSAGES: :[[@LINE+1]]:3: warning: switch has 2 consecutive identical branches [bugprone-b… in decorated_cases()
924 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: last of these clones ends here in decorated_cases()
951 // CHECK-MESSAGES: :[[@LINE+1]]:5: warning: repeated branch body in conditional chain [bugprone-bra… in no_real_body()
953 // CHECK-MESSAGES: :[[@LINE-1]]:10: note: end of the original in no_real_body()
955 // CHECK-MESSAGES: :[[@LINE+1]]:5: note: clone 1 starts here in no_real_body()
958 // CHECK-MESSAGES: :[[@LINE+1]]:5: note: clone 2 starts here in no_real_body()
986 // CHECK-MESSAGES: :[[@LINE+1]]:6: warning: conditional operator with identical true and false expr… in ternary1()
991 // CHECK-MESSAGES: :[[@LINE+1]]:12: warning: conditional operator with identical true and false exp… in ternary2()
1015 // CHECK-MESSAGES: :[[@LINE+1]]:3: warning: switch has 2 consecutive identical branches [bugprone-b… in dontCrash()
1022 // CHECK-MESSAGES: :[[@LINE-11]]:3: note: expanded from macro 'SEMICOLON_CASE_COLON' in dontCrash()
1023 // CHECK-MESSAGES: :[[@LINE+1]]:23: note: last of these clones ends here in dontCrash()
1063 …// CHECK-MESSAGES: :[[@LINE+2]]:5: warning: if with identical then and else branches [bugprone-bra…
1064 // CHECK-MESSAGES: :[[@LINE+3]]:7: note: else branch starts here