• Home
  • Raw
  • Download

Lines Matching full:warning

3 /* Only one expected warning per function allowed at the very end. */
24 return (5.14F != 5.14F); // no warning in checkNotEqualFloatLiteralCompare1()
28 return (6.14F != 7.14F); // no warning in checkNotEqualFloatLiteralCompare2()
34 return (f != g); // no warning in checkNotEqualFloatDeclCompare1()
39 return (f != f); // no warning in checkNotEqualFloatDeclCompare12()
44 return (f != 7.1F); // no warning in checkNotEqualFloatDeclCompare3()
49 return (7.1F != f); // no warning in checkNotEqualFloatDeclCompare4()
55 return (t != f); // no warning in checkNotEqualFloatDeclCompare5()
61 return (f != t); // no warning in checkNotEqualFloatDeclCompare6()
68 …return ((int)f != (int)f); // expected-warning {{comparison of identical expressions always evalua… in checkNotEqualCastFloatDeclCompare11()
72 return ((char)f != (int)f); // no warning in checkNotEqualCastFloatDeclCompare12()
77 res = (f + 3.14F != f + 3.14F); // no warning in checkNotEqualBinaryOpFloatCompare1()
83 return (f + 3.14F != g + 3.14F); // no warning in checkNotEqualBinaryOpFloatCompare2()
88 res = ((int)f + 3.14F != (int)f + 3.14F); // no warning in checkNotEqualBinaryOpFloatCompare3()
94 res = ((int)f + 3.14F != (char)f + 3.14F); // no warning in checkNotEqualBinaryOpFloatCompare4()
103 res = (((int)f + (3.14F - u)*t) != ((int)f + (3.14F - u)*t)); // no warning in checkNotEqualNestedBinaryOpFloatCompare1()
112 res = (((int)f + (u - 3.14F)*t) != ((int)f + (3.14F - u)*t)); // no warning in checkNotEqualNestedBinaryOpFloatCompare2()
121 res = (((int)f + (u - 3.14F)*t) != ((int)f + (3.14F - u)*(f + t != f + t))); // no warning in checkNotEqualNestedBinaryOpFloatCompare3()
133 …return (5 != 5); // expected-warning {{comparison of identical expressions always evaluates to fal… in checkNotEqualIntLiteralCompare1()
137 return (6 != 7); // no warning in checkNotEqualIntLiteralCompare2()
143 return (f != g); // no warning in checkNotEqualIntDeclCompare1()
148 return (f != 7); // no warning in checkNotEqualIntDeclCompare3()
153 return (7 != f); // no warning in checkNotEqualIntDeclCompare4()
158 …return ((int)f != (int)f); // expected-warning {{comparison of identical expressions always evalua… in checkNotEqualCastIntDeclCompare11()
162 return ((char)f != (int)f); // no warning in checkNotEqualCastIntDeclCompare12()
169 …res = (f + 4 != f + 4); // expected-warning {{comparison of identical expressions always evaluate… in checkNotEqualBinaryOpIntCompare1()
175 return (f + 4 != g + 4); // no warning in checkNotEqualBinaryOpIntCompare2()
184 …res = ((int)f + 4 != (int)f + 4); // expected-warning {{comparison of identical expressions alway… in checkNotEqualBinaryOpIntCompare3()
192 res = ((int)f + 4 != (char)f + 4); // no warning in checkNotEqualBinaryOpIntCompare4()
199 …res = (u + t != u + t); // expected-warning {{comparison of identical expressions always evaluate… in checkNotEqualBinaryOpIntCompare5()
208 …res = (((int)f + (3 - u)*t) != ((int)f + (3 - u)*t)); // expected-warning {{comparison of identic… in checkNotEqualNestedBinaryOpIntCompare1()
217 res = (((int)f + (u - 3)*t) != ((int)f + (3 - u)*t)); // no warning in checkNotEqualNestedBinaryOpIntCompare2()
226 …res = (((int)f + (u - 3)*t) != ((int)f + (3 - u)*(t + 1 != t + 1))); // expected-warning {{compar… in checkNotEqualNestedBinaryOpIntCompare3()
238 return (p != 0); // no warning in checkNotEqualIntPointerLiteralCompare1()
242 return (6 != 7); // no warning in checkNotEqualIntPointerLiteralCompare2()
249 return (f != g); // no warning in checkNotEqualIntPointerDeclCompare1()
255 …return ((int*)f != (int*)f); // expected-warning {{comparison of identical expressions always eval… in checkNotEqualCastIntPointerDeclCompare11()
260 return ((int*)((char*)f) != (int*)f); // no warning in checkNotEqualCastIntPointerDeclCompare12()
266 …res = (f + 4 != f + 4); // expected-warning {{comparison of identical expressions always evaluate… in checkNotEqualBinaryOpIntPointerCompare1()
273 return (f + 4 != g + 4); // no warning in checkNotEqualBinaryOpIntPointerCompare2()
281 …res = ((int*)f + 4 != (int*)f + 4); // expected-warning {{comparison of identical expressions alw… in checkNotEqualBinaryOpIntPointerCompare3()
288 res = ((int*)f + 4 != (int*)((char*)f) + 4); // no warning in checkNotEqualBinaryOpIntPointerCompare4()
298 …res = ((f + (3)*t) != (f + (3)*t)); // expected-warning {{comparison of identical expressions alw… in checkNotEqualNestedBinaryOpIntPointerCompare1()
308 res = (((3)*t + f) != (f + (3)*t)); // no warning in checkNotEqualNestedBinaryOpIntPointerCompare2()
318 int res = (a+func() != a+func()); // no warning in checkNotEqualSameFunction()
325 int res = (a+func() != a+func2()); // no warning in checkNotEqualDifferentFunction()
332 int res = (a+funcParam(a) != a+funcParam(a)); // no warning in checkNotEqualSameFunctionSameParam()
339 int res = (a+funcParam(a) != a+funcParam(b)); // no warning in checkNotEqualSameFunctionDifferentParam()
355 return (f == g); // no warning in checkEqualIntPointerDeclCompare()
361 …return (f+1 == f+1); // expected-warning {{comparison of identical expressions always evaluates to… in checkEqualIntPointerDeclCompare0()
367 return (5.14F == 5.14F); // no warning in checkEqualFloatLiteralCompare1()
371 return (6.14F == 7.14F); // no warning in checkEqualFloatLiteralCompare2()
377 return (f == g); // no warning in checkEqualFloatDeclCompare1()
382 return (f == f); // no warning in checkEqualFloatDeclCompare12()
388 return (f == 7.1F); // no warning in checkEqualFloatDeclCompare3()
393 return (7.1F == f); // no warning in checkEqualFloatDeclCompare4()
399 return (t == f); // no warning in checkEqualFloatDeclCompare5()
405 return (f == t); // no warning in checkEqualFloatDeclCompare6()
413 …return ((int)f == (int)f); // expected-warning {{comparison of identical expressions always evalua… in checkEqualCastFloatDeclCompare11()
417 return ((char)f == (int)f); // no warning in checkEqualCastFloatDeclCompare12()
422 res = (f + 3.14F == f + 3.14F); // no warning in checkEqualBinaryOpFloatCompare1()
428 return (f + 3.14F == g + 3.14F); // no warning in checkEqualBinaryOpFloatCompare2()
433 res = ((int)f + 3.14F == (int)f + 3.14F); // no warning in checkEqualBinaryOpFloatCompare3()
439 res = ((int)f + 3.14F == (char)f + 3.14F); // no warning in checkEqualBinaryOpFloatCompare4()
448 res = (((int)f + (3.14F - u)*t) == ((int)f + (3.14F - u)*t)); // no warning in checkEqualNestedBinaryOpFloatCompare1()
457 res = (((int)f + (u - 3.14F)*t) == ((int)f + (3.14F - u)*t)); // no warning in checkEqualNestedBinaryOpFloatCompare2()
466 res = (((int)f + (u - 3.14F)*t) == ((int)f + (3.14F - u)*(f + t == f + t))); // no warning in checkEqualNestedBinaryOpFloatCompare3()
477 …return (5 == 5); // expected-warning {{comparison of identical expressions always evaluates to tru… in checkEqualIntLiteralCompare1()
481 return (6 == 7); // no warning in checkEqualIntLiteralCompare2()
487 return (f == g); // no warning in checkEqualIntDeclCompare1()
492 …return ((int)f == (int)f); // expected-warning {{comparison of identical expressions always evalua… in checkEqualCastIntDeclCompare11()
496 return ((char)f == (int)f); // no warning in checkEqualCastIntDeclCompare12()
501 return (f == 7); // no warning in checkEqualIntDeclCompare3()
506 return (7 == f); // no warning in checkEqualIntDeclCompare4()
514 …res = (f + 4 == f + 4); // expected-warning {{comparison of identical expressions always evaluate… in checkEqualBinaryOpIntCompare1()
520 return (f + 4 == g + 4); // no warning in checkEqualBinaryOpIntCompare2()
529 …res = ((int)f + 4 == (int)f + 4); // expected-warning {{comparison of identical expressions alway… in checkEqualBinaryOpIntCompare3()
538 res = ((int)f + 4 == (char)f + 4); // no warning in checkEqualBinaryOpIntCompare4()
545 …res = (u + t == u + t); // expected-warning {{comparison of identical expressions always evaluate… in checkEqualBinaryOpIntCompare5()
554 …res = (((int)f + (3 - u)*t) == ((int)f + (3 - u)*t)); // expected-warning {{comparison of identic… in checkEqualNestedBinaryOpIntCompare1()
563 res = (((int)f + (u - 3)*t) == ((int)f + (3 - u)*t)); // no warning in checkEqualNestedBinaryOpIntCompare2()
572 …res = (((int)f + (u - 3)*t) == ((int)f + (3 - u)*(t + 1 == t + 1))); // expected-warning {{compar… in checkEqualNestedBinaryOpIntCompare3()
581 int res = (a+func() == a+func()); // no warning in checkEqualSameFunction()
588 int res = (a+func() == a+func2()); // no warning in checkEqualDifferentFunction()
595 int res = (a+funcParam(a) == a+funcParam(a)); // no warning in checkEqualSameFunctionSameParam()
602 int res = (a+funcParam(a) == a+funcParam(b)); // no warning in checkEqualSameFunctionDifferentParam()
618 …return (5.14F < 5.14F); // expected-warning {{comparison of identical expressions always evaluates… in checkLessThanFloatLiteralCompare1()
622 return (6.14F < 7.14F); // no warning in checkLessThanFloatLiteralCompare2()
628 return (f < g); // no warning in checkLessThanFloatDeclCompare1()
633 …return (f < f); // expected-warning {{comparison of identical expressions always evaluates to fals… in checkLessThanFloatDeclCompare12()
638 return (f < 7.1F); // no warning in checkLessThanFloatDeclCompare3()
643 return (7.1F < f); // no warning in checkLessThanFloatDeclCompare4()
649 return (t < f); // no warning in checkLessThanFloatDeclCompare5()
655 return (f < t); // no warning in checkLessThanFloatDeclCompare6()
661 …return ((int)f < (int)f); // expected-warning {{comparison of identical expressions always evaluat… in checkLessThanCastFloatDeclCompare11()
665 return ((char)f < (int)f); // no warning in checkLessThanCastFloatDeclCompare12()
670 res = (f + 3.14F < f + 3.14F); // no warning in checkLessThanBinaryOpFloatCompare1()
676 return (f + 3.14F < g + 3.14F); // no warning in checkLessThanBinaryOpFloatCompare2()
681 res = ((int)f + 3.14F < (int)f + 3.14F); // no warning in checkLessThanBinaryOpFloatCompare3()
687 res = ((int)f + 3.14F < (char)f + 3.14F); // no warning in checkLessThanBinaryOpFloatCompare4()
696 res = (((int)f + (3.14F - u)*t) < ((int)f + (3.14F - u)*t)); // no warning in checkLessThanNestedBinaryOpFloatCompare1()
705 res = (((int)f + (u - 3.14F)*t) < ((int)f + (3.14F - u)*t)); // no warning in checkLessThanNestedBinaryOpFloatCompare2()
714 res = (((int)f + (u - 3.14F)*t) < ((int)f + (3.14F - u)*(f + t < f + t))); // no warning in checkLessThanNestedBinaryOpFloatCompare3()
724 …return (5 < 5); // expected-warning {{comparison of identical expressions always evaluates to fals… in checkLessThanIntLiteralCompare1()
728 return (6 < 7); // no warning in checkLessThanIntLiteralCompare2()
734 return (f < g); // no warning in checkLessThanIntDeclCompare1()
739 return (f < 7); // no warning in checkLessThanIntDeclCompare3()
744 return (7 < f); // no warning in checkLessThanIntDeclCompare4()
750 return (t < f); // no warning in checkLessThanIntDeclCompare5()
756 return (f < t); // no warning in checkLessThanIntDeclCompare6()
761 …return ((int)f < (int)f); // expected-warning {{comparison of identical expressions always evaluat… in checkLessThanCastIntDeclCompare11()
765 return ((char)f < (int)f); // no warning in checkLessThanCastIntDeclCompare12()
770 …res = (f + 3 < f + 3); // expected-warning {{comparison of identical expressions always evaluates… in checkLessThanBinaryOpIntCompare1()
776 return (f + 3 < g + 3); // no warning in checkLessThanBinaryOpIntCompare2()
781 …res = ((int)f + 3 < (int)f + 3); // expected-warning {{comparison of identical expressions always… in checkLessThanBinaryOpIntCompare3()
787 res = ((int)f + 3 < (char)f + 3); // no warning in checkLessThanBinaryOpIntCompare4()
796 …res = (((int)f + (3 - u)*t) < ((int)f + (3 - u)*t)); // expected-warning {{comparison of identica… in checkLessThanNestedBinaryOpIntCompare1()
805 res = (((int)f + (u - 3)*t) < ((int)f + (3 - u)*t)); // no warning in checkLessThanNestedBinaryOpIntCompare2()
814 …res = (((int)f + (u - 3)*t) < ((int)f + (3 - u)*(t + u < t + u))); // expected-warning {{comparis… in checkLessThanNestedBinaryOpIntCompare3()
828 …return (5.14F > 5.14F); // expected-warning {{comparison of identical expressions always evaluates… in checkGreaterThanFloatLiteralCompare1()
832 return (6.14F > 7.14F); // no warning in checkGreaterThanFloatLiteralCompare2()
839 return (f > g); // no warning in checkGreaterThanFloatDeclCompare1()
844 …return (f > f); // expected-warning {{comparison of identical expressions always evaluates to fals… in checkGreaterThanFloatDeclCompare12()
850 return (f > 7.1F); // no warning in checkGreaterThanFloatDeclCompare3()
855 return (7.1F > f); // no warning in checkGreaterThanFloatDeclCompare4()
861 return (t > f); // no warning in checkGreaterThanFloatDeclCompare5()
867 return (f > t); // no warning in checkGreaterThanFloatDeclCompare6()
872 …return ((int)f > (int)f); // expected-warning {{comparison of identical expressions always evaluat… in checkGreaterThanCastFloatDeclCompare11()
876 return ((char)f > (int)f); // no warning in checkGreaterThanCastFloatDeclCompare12()
881 res = (f + 3.14F > f + 3.14F); // no warning in checkGreaterThanBinaryOpFloatCompare1()
887 return (f + 3.14F > g + 3.14F); // no warning in checkGreaterThanBinaryOpFloatCompare2()
892 res = ((int)f + 3.14F > (int)f + 3.14F); // no warning in checkGreaterThanBinaryOpFloatCompare3()
898 res = ((int)f + 3.14F > (char)f + 3.14F); // no warning in checkGreaterThanBinaryOpFloatCompare4()
907 res = (((int)f + (3.14F - u)*t) > ((int)f + (3.14F - u)*t)); // no warning in checkGreaterThanNestedBinaryOpFloatCompare1()
916 res = (((int)f + (u - 3.14F)*t) > ((int)f + (3.14F - u)*t)); // no warning in checkGreaterThanNestedBinaryOpFloatCompare2()
925 res = (((int)f + (u - 3.14F)*t) > ((int)f + (3.14F - u)*(f + t > f + t))); // no warning in checkGreaterThanNestedBinaryOpFloatCompare3()
935 …return (5 > 5); // expected-warning {{comparison of identical expressions always evaluates to fals… in checkGreaterThanIntLiteralCompare1()
939 return (6 > 7); // no warning in checkGreaterThanIntLiteralCompare2()
946 return (f > g); // no warning in checkGreaterThanIntDeclCompare1()
951 return (f > 7); // no warning in checkGreaterThanIntDeclCompare3()
956 return (7 > f); // no warning in checkGreaterThanIntDeclCompare4()
961 …return ((int)f > (int)f); // expected-warning {{comparison of identical expressions always evaluat… in checkGreaterThanCastIntDeclCompare11()
965 return ((char)f > (int)f); // no warning in checkGreaterThanCastIntDeclCompare12()
970 …res = (f + 3 > f + 3); // expected-warning {{comparison of identical expressions always evaluates… in checkGreaterThanBinaryOpIntCompare1()
976 return (f + 3 > g + 3); // no warning in checkGreaterThanBinaryOpIntCompare2()
981 …res = ((int)f + 3 > (int)f + 3); // expected-warning {{comparison of identical expressions always… in checkGreaterThanBinaryOpIntCompare3()
987 res = ((int)f + 3 > (char)f + 3); // no warning in checkGreaterThanBinaryOpIntCompare4()
996 …res = (((int)f + (3 - u)*t) > ((int)f + (3 - u)*t)); // expected-warning {{comparison of identica… in checkGreaterThanNestedBinaryOpIntCompare1()
1005 res = (((int)f + (u - 3)*t) > ((int)f + (3 - u)*t)); // no warning in checkGreaterThanNestedBinaryOpIntCompare2()
1014 …res = (((int)f + (u - 3)*t) > ((int)f + (3 - u)*(t + u > t + u))); // expected-warning {{comparis… in checkGreaterThanNestedBinaryOpIntCompare3()
1027 …a = a > 5 ? b : b; // expected-warning {{identical expressions on both sides of ':' in conditional… in test_unsigned()
1033 …a = a > 5 ? a : a; // expected-warning {{identical expressions on both sides of ':' in conditional… in test_signed()
1037 …a = a > 0 ? a : a; // expected-warning {{identical expressions on both sides of ':' in conditional… in test_bool()
1043 …a = a > 5 ? a : a; // expected-warning {{identical expressions on both sides of ':' in conditional… in test_float()
1048 …return a > 5 ? "abc" : "abc"; // expected-warning {{identical expressions on both sides of ':' in … in test_string()
1054 …a = a > 5 ? a+b : a+b; // expected-warning {{identical expressions on both sides of ':' in conditi… in test_unsigned_expr()
1060 …a = a > 5 ? a+b : a+b; // expected-warning {{identical expressions on both sides of ':' in conditi… in test_signed_expr()
1065 …a = a > 0 ? a&&b : a&&b; // expected-warning {{identical expressions on both sides of ':' in condi… in test_bool_expr()
1071 a = a > 5 ? a+b : b+a; // no warning in test_unsigned_expr_negative()
1077 a = a > 5 ? b+a : a+b; // no warning in test_signed_expr_negative()
1082 a = a > 0 ? a&&b : b&&a; // no warning in test_bool_expr_negative()
1088 …a = a > 5 ? a+b : a+b; // expected-warning {{identical expressions on both sides of ':' in conditi… in test_float_expr_positive()
1094 …a = a > 5 ? a+func() : a+func(); // expected-warning {{identical expressions on both sides of ':' … in test_expr_positive_func()
1100 a = a > 5 ? a+func() : a+func2(); // no warning in test_expr_negative_func()
1106 …a = a > 5 ? a+funcParam(b) : a+funcParam(b); // expected-warning {{identical expressions on both s… in test_expr_positive_funcParam()
1112 a = a > 5 ? a+funcParam(a) : a+funcParam(b); // no warning in test_expr_negative_funcParam()
1118 …a = a > 5 ? a++ : a++; // expected-warning {{identical expressions on both sides of ':' in conditi… in test_expr_positive_inc()
1124 a = a > 5 ? a++ : b++; // no warning in test_expr_negative_inc()
1130 …a = a > 5 ? a=1 : a=1; // expected-warning {{identical expressions on both sides of ':' in condit… in test_expr_positive_assign()
1136 a = a > 5 ? a=1 : a=2; // no warning in test_expr_negative_assign()
1143 …a = a > 5 ? a+b+(c+a)*(a + b*(c+a)) : a+b+(c+a)*(a + b*(c+a)); // expected-warning {{identical exp… in test_signed_nested_expr()
1150 a = a > 5 ? a+b+(c+a)*(a + b*(c+a)) : a+b+(c+a)*(a + b*(a+c)); // no warning in test_signed_nested_expr_negative()
1157 a = a > 5 ? (b > 5 ? 1 : 4) : (b > 5 ? 2 : 4); // no warning in test_signed_nested_cond_expr_negative()
1164 …a = a > 5 ? (b > 5 ? 1 : 4) : (b > 5 ? 4 : 4); // expected-warning {{identical expressions on both… in test_signed_nested_cond_expr()
1169 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches1()
1178 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches2()
1186 if (b) { // no warning in test_identical_branches3()
1195 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches4()
1202 if (b) // expected-warning {{true and false branches are identical}} in test_identical_branches_break()
1211 if (b) // expected-warning {{true and false branches are identical}} in test_identical_branches_continue()
1219 if (b) // expected-warning {{true and false branches are identical}} in test_identical_branches_func()
1226 if (b) // no-warning in test_identical_branches_func_arguments()
1234 if (b) // no-warning in test_identical_branches_cast1()
1242 if (b) // expected-warning {{true and false branches are identical}} in test_identical_branches_cast2()
1250 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches_return_int()
1260 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches_return_func()
1270 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches_for()
1281 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches_while()
1292 if (b) { // no-warning in test_identical_branches_while_2()
1303 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches_do_while()
1315 if (b) { // expected-warning {{true and false branches are identical}} in test_identical_branches_if()
1325 int a = 5 | 5; // expected-warning {{identical expressions on both sides of bitwise operator}} in test_identical_bitwise1()
1330 int b = a | a; // expected-warning {{identical expressions on both sides of bitwise operator}} in test_identical_bitwise2()
1335 int b = (a | a); // expected-warning {{identical expressions on both sides of bitwise operator}} in test_identical_bitwise3()
1340 int b = a | 4; // no-warning in test_identical_bitwise4()
1346 int c = a | b; // no-warning in test_identical_bitwise5()
1351 int b = a | 4 | a; // expected-warning {{identical expressions on both sides of bitwise operator}} in test_identical_bitwise6()
1356 int b = func() | func(); // no-warning in test_identical_bitwise7()
1360 …if (a == 4 && a == 4) // expected-warning {{identical expressions on both sides of logical operato… in test_identical_logical1()
1365 …if (a == 4 || a == 5 || a == 4) // expected-warning {{identical expressions on both sides of logic… in test_identical_logical2()
1370 if (a == 4 || a == 5 || a == 6) // no-warning in test_identical_logical3()
1375 if (a == func() || a == func()) // no-warning in test_identical_logical4()
1382 if (x == 4 && y == 5 || x == 4 && y == 6) // no-warning in test_identical_logical5()
1387 …if (x == 4 && y == 5 || x == 4 && y == 5) // expected-warning {{identical expressions on both side… in test_identical_logical6()
1413 else if (x == 1) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_1()
1420 else if (x == 1) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_2()
1422 else if (x == 1) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_2()
1431 else if (x == 1) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_3()
1440 else if (x == 1) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_4()
1447 else if (x & 1) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_5()
1456 else if (x == 2) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_6()
1469 else if (x == 2) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_7()
1482 else if (x == 2) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_8()
1486 else if (x == 3) // expected-warning {{expression is identical to previous condition}} in test_warn_chained_if_stmts_8()
1495 else if (func()) // no-warning in test_nowarn_chained_if_stmts_1()
1504 else if (func()) // no-warning in test_nowarn_chained_if_stmts_2()
1511 else if (x++) // no-warning in test_nowarn_chained_if_stmts_3()
1516 …const wchar_t * a = 0 ? L"Warning" : L"Warning"; // expected-warning {{identical expressions on bo… in test_warn_wchar()
1519 const wchar_t * a = 0 ? L"No" : L"Warning"; in test_nowarn_wchar()
1528 } else { // no-warning in test_nowarn_long()
1538 if (x == 1) // expected-warning {{conditions of the inner and outer statements are identical}} in test_warn_inner_if_1()
1542 // FIXME: Should warn here. The warning is currently not emitted because there in test_warn_inner_if_1()