github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 3194 tests passed
* 7 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/misc/redundant-expression.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp
 misc-redundant-expression 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp
 -- -- -fno-delayed-template-parsing -Wno-array-compare-cxx26
# executed command: /usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp
 misc-redundant-expression 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp
 -- -- -fno-delayed-template-parsing -Wno-array-compare-cxx26
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp',
 '-fix', '--checks=-*,misc-redundant-expression', '--config={}', '--', 
'-fno-delayed-template-parsing', '-Wno-array-compare-cxx26', '-std=c++11', 
'-nostdinc++', '-isystem', 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | ------------------------ clang-tidy output -----------------------
# | 240 warnings generated.
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:20:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    20 |   if (X - X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:22:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    22 |   if (X / X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:24:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    24 |   if (X % X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:27:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    27 |   if (X & X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:29:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    29 |   if (X | X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:31:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    31 |   if (X ^ X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:34:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    34 |   if (X < X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:36:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    36 |   if (X <= X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:38:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    38 |   if (X > X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:40:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    40 |   if (X >= X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:43:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    43 |   if (X && X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:45:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    45 |   if (X || X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:48:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    48 |   if (X != (((X)))) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:51:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    51 |   if (X + 1 == X + 1) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:53:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    53 |   if (X + 1 != X + 1) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:55:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    55 |   if (X + 1 <= X + 1) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:57:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    57 |   if (X + 1 >= X + 1) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:60:26:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    60 |   if ((X != 1 || Y != 1) && (X != 1 || Y != 1)) return 1;
# |       |                          ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:62:20:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    62 |   if (P.a[X - P.x] != P.a[X - P.x]) return 1;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:65:14:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    65 |   if ((int)X < (int)X) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:67:14:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    67 |   if (int(X) < int(X)) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:70:18:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    70 |   if ( + "dummy" == + "dummy") return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:72:14:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    72 |   if (L"abc" == L"abc") return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:75:18:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    75 |   if (foo(0) - 2 < foo(0) - 2) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:80:19:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |    80 |   if (P1.x < P2.x && P1.x < P2.x) return 1;
# |       |                   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:85:14:
 warning: operator has equivalent nested operands [misc-redundant-expression]
# |    85 |   if (X && Y && X) return 1;
# |       |       ~      ^  ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:87:9:
 warning: operator has equivalent nested operands [misc-redundant-expression]
# |    87 |   if (X || (Y || X)) return 1;
# |       |       ~ ^        ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:89:15:
 warning: operator has equivalent nested operands [misc-redundant-expression]
# |    89 |   if ((X ^ Y) ^ (Y ^ X)) return 1;
# |       |        ~   ~  ^  ~   ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:158:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   158 |   if (VAL_1 >= VAL_1)  return 0;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:160:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   160 |   if (VAL_2 <= VAL_2)  return 0;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:162:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   162 |   if (VAL_3 > VAL_3)  return 0;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:164:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   164 |   if (VAL_4 < VAL_4)  return 0;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:166:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   166 |   if (VAL_6 == VAL_6) return 2;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:168:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   168 |   if (VAL_5 != VAL_5) return 2;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:172:14:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   172 |   if (+VAL_6 == +VAL_6) return 2;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:174:14:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   174 |   if (-VAL_6 == -VAL_6) return 2;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:176:16:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   176 |   if ((+VAL_6) == (+VAL_6)) return 2;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:178:16:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   178 |   if ((-VAL_6) == (-VAL_6)) return 2;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:181:9:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   181 |   if (1 >= 1)  return 0;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:183:12:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   183 |   if (0xFF <= 0xFF)  return 0;
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:185:11:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   185 |   if (042 > 042)  return 0;
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:188:20:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   188 |   int_val = (VAL_6 == VAL_6)?int_val1: int_val2;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:190:18:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   190 |   int_val = (042 > 042)?int_val1: int_val2;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:218:21:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   218 |     .mC[0 ... VAL_3 - VAL_3] = int_val + 1,
# |       |                     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:225:17:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   225 |     .mC[0 ... 5 - 5] = int_val + 1,
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:241:41:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   241 |   for (localIndex = LOOP_DEFINE - 1; 10 > 10; localIndex--)
# |       |                                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:246:50:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   246 |   for (localIndex = LOOP_DEFINE - 1; LOOP_DEFINE > LOOP_DEFINE; 
localIndex--)
# |       |                                                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:275:25:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   275 |   ret += (+getValue(1)) > (+getValue( 1));
# |       |                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:277:25:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   277 |   ret += (-getValue(1)) > (-getValue( 1));
# |       |                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:280:23:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   280 |   ret += +getValue(1) > +getValue( 1);
# |       |                       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:282:23:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   282 |   ret += -getValue(1) > -getValue( 1);
# |       |                       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:285:22:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   285 |   ret += getValue(1) > getValue( 1);
# |       |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:287:22:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   287 |   ret += getValue(1) > getValue( 1  );
# |       |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:289:22:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   289 |   ret += getValue(1) > getValue(  1);
# |       |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:291:27:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   291 |   ret += getValue(     1) > getValue( 1);
# |       |                           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:293:28:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   293 |   ret += getValue( 1     ) > getValue( 1);
# |       |                            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:295:32:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   295 |   ret += getValue( VAL_5     ) > getValue(VAL_5);
# |       |                                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:297:32:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   297 |   ret += getValue( VAL_5     ) > getValue( VAL_5);
# |       |                                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:299:32:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   299 |   ret += getValue( VAL_5     ) > getValue( VAL_5  )  ;
# |       |                                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:301:26:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   301 |   ret += getValue(VAL_5) > getValue( VAL_5  )  ;
# |       |                          ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:303:32:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   303 |   ret += getValue(VAL_1+VAL_2) > getValue(VAL_1 + VAL_2)  ;
# |       |                                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:305:42:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   305 |   ret += getValue(VAL_1)+getValue(VAL_2) > getValue(VAL_1) + 
getValue( VAL_2)  ;
# |       |                                          ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:307:44:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   307 |   ret += (getValue(VAL_1)+getValue(VAL_2)) > (getValue(VAL_1) + 
getValue( VAL_2) ) ;
# |       |                                            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:314:14:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   314 |   if (DX > 0 && DX > 0) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:346:20:
 warning: 'true' and 'false' expressions are equivalent 
[misc-redundant-expression]
# |   346 |   k += (y < 0) ? x : x;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:348:24:
 warning: 'true' and 'false' expressions are equivalent 
[misc-redundant-expression]
# |   348 |   k += (y < 0) ? x + 1 : x + 1;
# |       |                        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:350:32:
 warning: 'true' and 'false' expressions are equivalent 
[misc-redundant-expression]
# |   350 |   k += (y < 0) ? COND_OP_MACRO : COND_OP_MACRO;
# |       |                                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:352:54:
 warning: 'true' and 'false' expressions are equivalent 
[misc-redundant-expression]
# |   352 |   k += (y < 0) ? COND_OP_MACRO + COND_OP_OTHER_MACRO : 
COND_OP_MACRO + COND_OP_OTHER_MACRO;
# |       |                                                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:366:30:
 warning: 'true' and 'false' expressions are equivalent 
[misc-redundant-expression]
# |   366 |   k += (y < 0) ? sizeof(I64) : sizeof(I64);
# |       |                              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:368:47:
 warning: 'true' and 'false' expressions are equivalent 
[misc-redundant-expression]
# |   368 |   k += (y < 0) ? sizeof(TestConditional(k,y)) : 
sizeof(TestConditional(k,y));
# |       |                                               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:409:9:
 warning: both sides of overloaded operator are equivalent 
[misc-redundant-expression]
# |   409 |   if (S == S) return true;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:411:9:
 warning: both sides of overloaded operator are equivalent 
[misc-redundant-expression]
# |   411 |   if (S < S) return true;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:413:9:
 warning: both sides of overloaded operator are equivalent 
[misc-redundant-expression]
# |   413 |   if (S != S) return true;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:415:9:
 warning: both sides of overloaded operator are equivalent 
[misc-redundant-expression]
# |   415 |   if (S >= S) return true;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:424:19:
 warning: overloaded operator has equivalent nested operands 
[misc-redundant-expression]
# |   424 |   if (U && V && U && V) return true;
# |       |       ~    ~    ~ ^  ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:458:23:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   458 |   if (NOT_EAGAIN == 0 | NOT_EAGAIN == 0) return 0;
# |       |                       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:469:26:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   469 |   static_assert(T::Value == T::Value, "should be identical");
# |       |                          ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:475:13:
 warning: logical expression is always false [misc-redundant-expression]
# |   475 |   if (X + 1 == X) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:477:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   477 |   if (X + 1 != X) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:479:13:
 warning: logical expression is always false [misc-redundant-expression]
# |   479 |   if (X - 1 == X) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:481:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   481 |   if (X - 1 != X) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:484:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   484 |   if (X + 1LL == X) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:486:16:
 warning: logical expression is always false [misc-redundant-expression]
# |   486 |   if (X + 1ULL == X) return 1;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:489:9:
 warning: logical expression is always false [misc-redundant-expression]
# |   489 |   if (X == X + 1) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:491:9:
 warning: logical expression is always true [misc-redundant-expression]
# |   491 |   if (X != X + 1) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:493:9:
 warning: logical expression is always false [misc-redundant-expression]
# |   493 |   if (X == X - 1) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:495:9:
 warning: logical expression is always true [misc-redundant-expression]
# |   495 |   if (X != X - 1) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:498:9:
 warning: logical expression is always true [misc-redundant-expression]
# |   498 |   if (X != X - 1U) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:500:9:
 warning: logical expression is always true [misc-redundant-expression]
# |   500 |   if (X != X - 1LL) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:503:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   503 |   if ((X+X) != (X+X) - 1) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:506:13:
 warning: logical expression is always false [misc-redundant-expression]
# |   506 |   if (X + 1 == X + 2) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:508:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   508 |   if (X + 1 != X + 2) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:511:13:
 warning: logical expression is always false [misc-redundant-expression]
# |   511 |   if (X - 1 == X - 2) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:513:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   513 |   if (X - 1 != X - 2) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:516:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   516 |   if (X + 1 == X - -1) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:518:13:
 warning: logical expression is always false [misc-redundant-expression]
# |   518 |   if (X + 1 != X - -1) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:520:13:
 warning: logical expression is always false [misc-redundant-expression]
# |   520 |   if (X + 1 == X - -2) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:522:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   522 |   if (X + 1 != X - -2) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:525:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   525 |   if (X + 1 == X - (~0)) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:527:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   527 |   if (X + 1 == X - (~0U)) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:530:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   530 |   if (X + 1 == X - (~0ULL)) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:544:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   544 |   if ((X & 0xFF) == 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:546:18:
 warning: logical expression is always true [misc-redundant-expression]
# |   546 |   if ((X & 0xFF) != 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:548:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   548 |   if ((X | 0xFF) == 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:550:18:
 warning: logical expression is always true [misc-redundant-expression]
# |   550 |   if ((X | 0xFF) != 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:553:21:
 warning: logical expression is always true [misc-redundant-expression]
# |   553 |   if ((X | 0xFFULL) != 0xF00) return 1;
# |       |                     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:555:18:
 warning: logical expression is always true [misc-redundant-expression]
# |   555 |   if ((X | 0xFF) != 0xF00ULL) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:558:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   558 |   if ((0xFF & X) == 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:560:18:
 warning: logical expression is always true [misc-redundant-expression]
# |   560 |   if ((0xFF & X) != 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:562:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   562 |   if ((0xFF & X) == 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:564:18:
 warning: logical expression is always true [misc-redundant-expression]
# |   564 |   if ((0xFF & X) != 0xF00) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:567:20:
 warning: logical expression is always false [misc-redundant-expression]
# |   567 |   if ((0xFFLL & X) == 0xF00) return 1;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:569:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   569 |   if ((0xFF & X) == 0xF00ULL) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:625:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   625 |   if (X == 10 && X != 10) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:627:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   627 |   if (X == 10 && (X != 10)) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:629:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   629 |   if (X == 10 && !(X == 10)) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:631:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   631 |   if (!(X != 10) && !(X == 10)) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:634:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   634 |   if (X == 10ULL && X != 10ULL) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:636:19:
 warning: logical expression is always false [misc-redundant-expression]
# |   636 |   if (!(X != 10U) && !(X == 10)) return 1;
# |       |                   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:638:20:
 warning: logical expression is always false [misc-redundant-expression]
# |   638 |   if (!(X != 10LL) && !(X == 10)) return 1;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:640:21:
 warning: logical expression is always false [misc-redundant-expression]
# |   640 |   if (!(X != 10ULL) && !(X == 10)) return 1;
# |       |                     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:643:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   643 |   if (X == 0 && X) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:645:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   645 |   if (X != 0 && !X) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:647:9:
 warning: logical expression is always false [misc-redundant-expression]
# |   647 |   if (X && !X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:650:9:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   650 |   if (X && !!X) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:652:14:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   652 |   if (X != 0 && X) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:654:14:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   654 |   if (X != 0 && !!X) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:656:14:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   656 |   if (X == 0 && !X) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:670:15:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   670 |   if (s1 == 1 && s1 == 1) return true;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:672:15:
 warning: logical expression is always true [misc-redundant-expression]
# |   672 |   if (s1 == 1 || s1 != 1) return true;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:674:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   674 |   if (s1 > 1 && s1 < 1) return true;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:676:15:
 warning: logical expression is always true [misc-redundant-expression]
# |   676 |   if (s1 >= 1 || s1 <= 1) return true;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:678:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   678 |   if (s1 >= 2 && s1 <= 0) return true;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:682:15:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   682 |   if (1 == s1 && s1 == 1) return true;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:684:15:
 warning: logical expression is always true [misc-redundant-expression]
# |   684 |   if (1 == s1 || s1 != 1) return true;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:686:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   686 |   if (1 < s1 && s1 < 1) return true;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:688:15:
 warning: logical expression is always true [misc-redundant-expression]
# |   688 |   if (1 <= s1 || s1 <= 1) return true;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:690:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   690 |   if (2 < s1 && 0 > s1) return true;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:707:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   707 |   if (X == 10 && X > 10) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:709:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   709 |   if (X == 10 && X < 10) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:711:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   711 |   if (X < 10 && X > 10) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:713:15:
 warning: logical expression is always false [misc-redundant-expression]
# |   713 |   if (X <= 10 && X > 10) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:715:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   715 |   if (X < 10 && X >= 10) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:717:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   717 |   if (X < 10 && X == 10) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:720:13:
 warning: logical expression is always false [misc-redundant-expression]
# |   720 |   if (X > 5 && X <= 5) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:722:14:
 warning: logical expression is always false [misc-redundant-expression]
# |   722 |   if (X > -5 && X <= -5) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:725:14:
 warning: logical expression is always true [misc-redundant-expression]
# |   725 |   if (X < 10 || X >= 10) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:727:15:
 warning: logical expression is always true [misc-redundant-expression]
# |   727 |   if (X <= 10 || X > 10) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:729:15:
 warning: logical expression is always true [misc-redundant-expression]
# |   729 |   if (X <= 10 || X >= 11) return 1;
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:731:14:
 warning: logical expression is always true [misc-redundant-expression]
# |   731 |   if (X != 7 || X != 14) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:733:9:
 warning: expression is redundant [misc-redundant-expression]
# |   733 |   if (X == 7 || X != 5) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:735:14:
 warning: logical expression is always true [misc-redundant-expression]
# |   735 |   if (X != 7 || X == 7) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:738:9:
 warning: expression is redundant [misc-redundant-expression]
# |   738 |   if (X < 7 && X < 6) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:740:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   740 |   if (X < 7 && X < 7) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:742:18:
 warning: expression is redundant [misc-redundant-expression]
# |   742 |   if (X < 7 && X < 8) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:745:9:
 warning: expression is redundant [misc-redundant-expression]
# |   745 |   if (X < 7 && X <= 5) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:747:13:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   747 |   if (X < 7 && X <= 6) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:749:18:
 warning: expression is redundant [misc-redundant-expression]
# |   749 |   if (X < 7 && X <= 7) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:751:18:
 warning: expression is redundant [misc-redundant-expression]
# |   751 |   if (X < 7 && X <= 8) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:754:9:
 warning: expression is redundant [misc-redundant-expression]
# |   754 |   if (X <= 7 && X < 6) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:756:9:
 warning: expression is redundant [misc-redundant-expression]
# |   756 |   if (X <= 7 && X < 7) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:758:14:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   758 |   if (X <= 7 && X < 8) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:761:14:
 warning: equivalent expression on both sides of logical operator 
[misc-redundant-expression]
# |   761 |   if (X >= 7 && X > 6) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:763:9:
 warning: expression is redundant [misc-redundant-expression]
# |   763 |   if (X >= 7 && X > 7) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:765:9:
 warning: expression is redundant [misc-redundant-expression]
# |   765 |   if (X >= 7 && X > 8) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:768:9:
 warning: expression is redundant [misc-redundant-expression]
# |   768 |   if (X <= 7 && X <= 5) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:770:9:
 warning: expression is redundant [misc-redundant-expression]
# |   770 |   if (X <= 7 && X <= 6) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:772:14:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   772 |   if (X <= 7 && X <= 7) return 1;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:774:19:
 warning: expression is redundant [misc-redundant-expression]
# |   774 |   if (X <= 7 && X <= 8) return 1;
# |       |                   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:777:20:
 warning: expression is redundant [misc-redundant-expression]
# |   777 |   if (X == 11 && X > 10) return 1;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:779:20:
 warning: expression is redundant [misc-redundant-expression]
# |   779 |   if (X == 11 && X < 12) return 1;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:781:9:
 warning: expression is redundant [misc-redundant-expression]
# |   781 |   if (X > 10 && X == 11) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:783:9:
 warning: expression is redundant [misc-redundant-expression]
# |   783 |   if (X < 12 && X == 11) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:786:9:
 warning: expression is redundant [misc-redundant-expression]
# |   786 |   if (X != 11 && X == 42) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:788:9:
 warning: expression is redundant [misc-redundant-expression]
# |   788 |   if (X != 11 && X > 11) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:790:9:
 warning: expression is redundant [misc-redundant-expression]
# |   790 |   if (X != 11 && X < 11) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:792:9:
 warning: expression is redundant [misc-redundant-expression]
# |   792 |   if (X != 11 && X < 8) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:794:9:
 warning: expression is redundant [misc-redundant-expression]
# |   794 |   if (X != 11 && X > 14) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:797:18:
 warning: expression is redundant [misc-redundant-expression]
# |   797 |   if (X < 7 || X < 6) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:799:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   799 |   if (X < 7 || X < 7) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:801:9:
 warning: expression is redundant [misc-redundant-expression]
# |   801 |   if (X < 7 || X < 8) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:804:9:
 warning: expression is redundant [misc-redundant-expression]
# |   804 |   if (X > 7 || X > 6) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:806:13:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |   806 |   if (X > 7 || X > 7) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:808:18:
 warning: expression is redundant [misc-redundant-expression]
# |   808 |   if (X > 7 || X > 8) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:837:22:
 warning: logical expression is always false [misc-redundant-expression]
# |   837 |   if (X < SOME_MACRO && X > SOME_MACRO) return 1;
# |       |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:839:22:
 warning: logical expression is always false [misc-redundant-expression]
# |   839 |   if (X < SOME_MACRO && X == SOME_MACRO) return 1;
# |       |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:841:22:
 warning: logical expression is always true [misc-redundant-expression]
# |   841 |   if (X < SOME_MACRO || X >= SOME_MACRO) return 1;
# |       |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:843:23:
 warning: logical expression is always true [misc-redundant-expression]
# |   843 |   if (X <= SOME_MACRO || X > SOME_MACRO) return 1;
# |       |                       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:845:9:
 warning: expression is redundant [misc-redundant-expression]
# |   845 |   if (X != SOME_MACRO && X > SOME_MACRO) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:847:9:
 warning: expression is redundant [misc-redundant-expression]
# |   847 |   if (X != SOME_MACRO && X < SOME_MACRO) return 1;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:889:16:
 warning: logical expression is always false [misc-redundant-expression]
# |   889 |   if (C == Red && C == Yellow) return 1;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:891:16:
 warning: logical expression is always false [misc-redundant-expression]
# |   891 |   if (C == Red && C != Red) return 1;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:893:16:
 warning: logical expression is always true [misc-redundant-expression]
# |   893 |   if (C != Red || C != Yellow) return 1;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:917:13:
 warning: logical expression is always true [misc-redundant-expression]
# |   917 |   if (X + 1 == X + 1ULL) return 1;
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:920:19:
 warning: logical expression is always false [misc-redundant-expression]
# |   920 |   if ((X & 0xFFU) == 0xF00) return 1;
# |       |                   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:923:18:
 warning: logical expression is always false [misc-redundant-expression]
# |   923 |   if ((X & 0xFF) == 0xF00U) return 1;
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:926:19:
 warning: logical expression is always false [misc-redundant-expression]
# |   926 |   if ((X & 0xFFU) == 0xF00U) return 1;
# |       |                   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:952:22:
 warning: logical expression is always true [misc-redundant-expression]
# |   952 |   if (X + 0x80000000 == X - 0x80000000) return 1;
# |       |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:969:16:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   969 |   Y = (Y << 8) & 0xff;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:971:17:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   971 |   Y = (Y << 12) & 0xfff;
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:973:17:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   973 |   Y = (Y << 12) & 0xff;
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:975:16:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   975 |   Y = (Y << 8) & 0x77;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:977:16:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   977 |   Y = (Y << 5) & 0x11;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:981:16:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   981 |   Z = (Z << 8) & 0xff;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:983:17:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   983 |   Y = (Y << 12) & 0xfffL;
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:985:17:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   985 |   Z = (Y << 12) & 0xffLL;
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:987:17:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   987 |   Y = (Z << 8L) & 0x77L;
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:990:16:
 warning: ineffective bitwise and operation [misc-redundant-expression]
# |   990 |   Y = (Y << 8) & 0;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1000:11:
 warning: ineffective logical negation operator used; did you mean '~'? 
[misc-redundant-expression]
# |  1000 |   int K = !(1 | 2 | 4);
# |       |           ^
# |       |           ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1000:11:
 note: FIX-IT applied suggested code changes
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1003:7:
 warning: ineffective logical negation operator used; did you mean '~'? 
[misc-redundant-expression]
# |  1003 |   K = !(FLAG1 & FLAG2 & FLAG3);
# |       |       ^
# |       |       ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1003:7:
 note: FIX-IT applied suggested code changes
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1006:7:
 warning: ineffective logical negation operator used; did you mean '~'? 
[misc-redundant-expression]
# |  1006 |   K = !(3 | 4);
# |       |       ^
# |       |       ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1006:7:
 note: FIX-IT applied suggested code changes
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1009:18:
 warning: ineffective logical negation operator used; did you mean '~'? 
[misc-redundant-expression]
# |  1009 |   int NotFlags = !FLAGS;
# |       |                  ^
# |       |                  ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1009:18:
 note: FIX-IT applied suggested code changes
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1012:14:
 warning: ineffective logical negation operator used; did you mean '~'? 
[misc-redundant-expression]
# |  1012 |   NotFlags = NOTFLAGS;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:965:18:
 note: expanded from macro 'NOTFLAGS'
# |   965 | #define NOTFLAGS !(FLAG1 | FLAG2 | FLAG3)
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1014:10:
 warning: ineffective logical negation operator used; did you mean '~'? 
[misc-redundant-expression]
# |  1014 |   return !(1 | 2 | 4);
# |       |          ^
# |       |          ~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1014:10:
 note: FIX-IT applied suggested code changes
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:1072:25:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# | clang-tidy applied 5 of 5 suggested fixes.
# |  1072 | static_assert(sizeof(X) == sizeof(X));
# |       |                         ^
# | Suppressed 25 warnings (25 with check filters).
# | 
# | ------------------------------------------------------------------
# | diff -u 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.orig
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp
 failed:
# | --- 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.orig
   2026-04-15 00:42:54.235818345 +0000
# | +++ 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp
    2026-04-15 00:42:54.318818491 +0000
# | @@ -997,21 +997,21 @@
# |    Y = (Y << 3) & 0x250;
# |    Y = (Y << 9) & 0xF33;
# |  
# | -  int K = !(1 | 2 | 4);
# | +  int K = ~(1 | 2 | 4);
# |    //
# |    //
# | -  K = !(FLAG1 & FLAG2 & FLAG3);
# | +  K = ~(FLAG1 & FLAG2 & FLAG3);
# |    //
# |    //
# | -  K = !(3 | 4);
# | +  K = ~(3 | 4);
# |    //
# |    //
# | -  int NotFlags = !FLAGS;
# | +  int NotFlags = ~FLAGS;
# |    //
# |    //
# |    NotFlags = NOTFLAGS;
# |    //
# | -  return !(1 | 2 | 4);
# | +  return ~(1 | 2 | 4);
# |    //
# |    //
# |  }
# | 
# | ------------------------------ Fixes -----------------------------
# | --- 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.orig
   2026-04-15 00:42:54.235818345 +0000
# | +++ 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp
    2026-04-15 00:42:54.318818491 +0000
# | @@ -997,21 +997,21 @@
# |    Y = (Y << 3) & 0x250;
# |    Y = (Y << 9) & 0xF33;
# |  
# | -  int K = !(1 | 2 | 4);
# | +  int K = ~(1 | 2 | 4);
# |    //
# |    //
# | -  K = !(FLAG1 & FLAG2 & FLAG3);
# | +  K = ~(FLAG1 & FLAG2 & FLAG3);
# |    //
# |    //
# | -  K = !(3 | 4);
# | +  K = ~(3 | 4);
# |    //
# |    //
# | -  int NotFlags = !FLAGS;
# | +  int NotFlags = ~FLAGS;
# |    //
# |    //
# |    NotFlags = NOTFLAGS;
# |    //
# | -  return !(1 | 2 | 4);
# | +  return ~(1 | 2 | 4);
# |    //
# |    //
# |  }
# | 
# | ------------------------------------------------------------------
# | FileCheck 
-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp.msg
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp
 -check-prefixes=CHECK-MESSAGES -implicit-check-not={{warning|error}}: failed:
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp:78:21:
 error: CHECK-MESSAGES: expected string not found in input
# |  // CHECK-MESSAGES: :[[@LINE-1]]:19: warning: both sides of operator are 
equivalent
# |                     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp.msg:71:211:
 note: scanning from here
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:75:18:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |                                                                             
                                                                                
                                                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp.msg:71:211:
 note: with "@LINE-1" equal to "77"
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:75:18:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |                                                                             
                                                                                
                                                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp.msg:74:159:
 note: possible intended match here
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:80:19:
 warning: both sides of operator are equivalent [misc-redundant-expression]
# |                                                                             
                                                                                
  ^
# | 
# | Input file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp.msg
# | Check file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            66:  70 | if ( + "dummy" == + "dummy") return 1; 
# |            67:  | ^ 
# |            68: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:72:14:
 warning: both sides of operator are equivalent [misc-redundant-expression] 
# |            69:  72 | if (L"abc" == L"abc") return 1; 
# |            70:  | ^ 
# |            71: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:75:18:
 warning: both sides of operator are equivalent [misc-redundant-expression] 
# | check:78'0                                                                  
                                                                                
                                                                     
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:78'1                                                                  
                                                                                
                                                                                
                   with "@LINE-1" equal to "77"
# |            72:  75 | if (foo(0) - 2 < foo(0) - 2) return 1; 
# | check:78'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            73:  | ^ 
# | check:78'0     ~~~~~
# |            74: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:80:19:
 warning: both sides of operator are equivalent [misc-redundant-expression] 
# | check:78'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:78'2                                                                  
                                                                                
                 ?                                                              
                   possible intended match
# |            75:  80 | if (P1.x < P2.x && P1.x < P2.x) return 1; 
# | check:78'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            76:  | ^ 
# | check:78'0     ~~~~~
# |            77: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp:85:14:
 warning: operator has equivalent nested operands [misc-redundant-expression] 
# | check:78'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            78:  85 | if (X && Y && X) return 1; 
# | check:78'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            79:  | ~ ^ ~ 
# | check:78'0     ~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# | 
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 554, in <module>
# |     main()
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 550, in main
# |     CheckRunner(args, extra_args).run()
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 433, in run
# |     self.check_messages(main_output)
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 358, in check_messages
# |     try_run(
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 64, in try_run
# |     process_output = subprocess.check_output(args, 
stderr=subprocess.STDOUT).decode(
# |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
# |     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "/usr/lib/python3.12/subprocess.py", line 571, in run
# |     raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['FileCheck', 
'-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/redundant-expression.cpp.tmp.cpp.msg',
 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp',
 '-check-prefixes=CHECK-MESSAGES', '-implicit-check-not={{warning|error}}:']' 
returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/192167
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to