github-actions[bot] wrote:

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

* 3057 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/bugprone/use-after-move.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
 -std=c++11 -check-suffixes=,CXX11 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp
 bugprone-use-after-move 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp
 --    -config='{CheckOptions: {      
bugprone-use-after-move.InvalidationFunctions: 
"::Database<>::StaticCloseConnection;Database<>::CloseConnection;FriendCloseConnection",
      bugprone-use-after-move.ReinitializationFunctions: 
"::Database<>::Reset;::Database<>::StaticReset;::FriendReset;::RegularReset"    
}}' --    -fno-delayed-template-parsing
# 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
 -std=c++11 -check-suffixes=,CXX11 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp
 bugprone-use-after-move 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp
 -- '-config={CheckOptions: {      
bugprone-use-after-move.InvalidationFunctions: 
"::Database<>::StaticCloseConnection;Database<>::CloseConnection;FriendCloseConnection",
      bugprone-use-after-move.ReinitializationFunctions: 
"::Database<>::Reset;::Database<>::StaticReset;::FriendReset;::RegularReset"    
}}' -- -fno-delayed-template-parsing
# .---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/bugprone/Output/use-after-move.cpp.tmp.cpp',
 '-fix', '--checks=-*,bugprone-use-after-move', '-config={CheckOptions: {      
bugprone-use-after-move.InvalidationFunctions: 
"::Database<>::StaticCloseConnection;Database<>::CloseConnection;FriendCloseConnection",
      bugprone-use-after-move.ReinitializationFunctions: 
"::Database<>::Reset;::Database<>::StaticReset;::FriendReset;::RegularReset"    
}}', '--', '-fno-delayed-template-parsing', '-std=c++11', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 207 warnings generated.
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:187:3:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   187 |   a.foo();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:186:15:
 note: move occurred here
# |   186 |   A other_a = std::move(a);
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:204:3:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   204 |   a.foo();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:203:15:
 note: move occurred here
# |   203 |   A other_a = std::move(a);
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:215:15:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   215 |     std::move(a);
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:214:5:
 note: move occurred here
# |   214 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:224:17:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   224 |       std::move(a);
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:224:7:
 note: move occurred here
# |   224 |       std::move(a);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:224:17:
 note: the use happens in a later loop iteration than the move
# |   224 |       std::move(a);
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:235:3:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   235 |   a.foo();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:234:3:
 note: move occurred here
# |   234 |   std::move(a);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:249:6:
 warning: 'ptr' used after it was moved [bugprone-use-after-move]
# |   249 |     *ptr;
# |       |      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:246:5:
 note: move occurred here
# |   246 |     std::move(ptr);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:256:5:
 warning: 'ptr' used after it was moved [bugprone-use-after-move]
# |   256 |     ptr->foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:255:5:
 note: move occurred here
# |   255 |     std::move(ptr);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:263:5:
 warning: 'ptr' used after it was moved [bugprone-use-after-move]
# |   263 |     ptr[0];
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:262:5:
 note: move occurred here
# |   262 |     std::move(ptr);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:272:6:
 warning: 'ptr' used after it was moved [bugprone-use-after-move]
# |   272 |     *ptr;
# |       |      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:269:5:
 note: move occurred here
# |   269 |     std::move(ptr);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:279:5:
 warning: 'ptr' used after it was moved [bugprone-use-after-move]
# |   279 |     ptr->foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:278:5:
 note: move occurred here
# |   278 |     std::move(ptr);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:286:14:
 warning: 'opt' used after it was moved [bugprone-use-after-move]
# |   286 |     A val = *opt;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:285:5:
 note: move occurred here
# |   285 |     std::move(opt);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:342:5:
 warning: 'ptr' used after it was moved [bugprone-use-after-move]
# |   342 |     ptr.get();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:341:5:
 note: move occurred here
# |   341 |     std::move(ptr);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:353:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   353 |     a.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:352:5:
 note: move occurred here
# |   352 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:363:3:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   363 |   a.foo();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:362:5:
 note: move occurred here
# |   362 |   A another_a(std::move(a));
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:380:3:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   380 |   a.foo();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:379:7:
 note: move occurred here
# |   379 |   S s{std::move(a)};
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:391:7:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   391 |       a.foo();
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:390:7:
 note: move occurred here
# |   390 |       std::move(a);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:401:7:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   401 |       a.foo();
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:400:7:
 note: move occurred here
# |   400 |       std::move(a);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:433:20:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   433 |     auto lambda = [a]() { a.foo(); };
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:432:5:
 note: move occurred here
# |   432 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:441:20:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   441 |     auto lambda = [=]() { a.foo(); };
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:440:5:
 note: move occurred here
# |   440 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:449:21:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   449 |     auto lambda = [&a]() { a.foo(); };
# |       |                     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:448:5:
 note: move occurred here
# |   448 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:456:20:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   456 |     auto lambda = [&]() { a.foo(); };
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:455:5:
 note: move occurred here
# |   455 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:486:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   486 |     a.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:485:24:
 note: move occurred here
# |   485 |     auto lambda = [a = std::move(a)] { a.foo(); };
# |       |                        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:499:3:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   499 |   a.foo();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:498:3:
 note: move occurred here
# |   498 |   std::move(a);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:510:3:
 warning: 't' used after it was moved [bugprone-use-after-move]
# |   510 |   t.foo();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:509:3:
 note: move occurred here
# |   509 |   std::move(t);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:526:3:
 warning: 'convertible' used after it was moved [bugprone-use-after-move]
# |   526 |   convertible;
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:525:9:
 note: move occurred here
# |   525 |   takeA(std::move(convertible));
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:605:7:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   605 |       a.foo();
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:609:7:
 note: move occurred here
# |   609 |       std::move(a);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:605:7:
 note: the use happens in a later loop iteration than the move
# |   605 |       a.foo();
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:617:9:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   617 |         a.foo();
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:622:9:
 note: move occurred here
# |   622 |         std::move(a);
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:617:9:
 note: the use happens in a later loop iteration than the move
# |   617 |         a.foo();
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:697:7:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   697 |       a.foo();
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:695:7:
 note: move occurred here
# |   695 |       std::move(a);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:713:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   713 |     a.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:710:5:
 note: move occurred here
# |   710 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:796:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   796 |     a.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:795:5:
 note: move occurred here
# |   795 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:809:7:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   809 |       a.foo();
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:804:5:
 note: move occurred here
# |   804 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:846:25:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   846 |     passByConstPointer(&a);
# |       |                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:845:5:
 note: move occurred here
# |   845 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:852:24:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |   852 |   passByConstReference(a);
# |       |                        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:851:3:
 note: move occurred here
# |   851 |   std::move(a);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:958:5:
 warning: 'container' used after it was moved [bugprone-use-after-move]
# |   958 |     container.clear();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:957:5:
 note: move occurred here
# |   957 |     std::move(container);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:967:5:
 warning: 'container1' used after it was moved [bugprone-use-after-move]
# |   967 |     container1.empty();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:965:5:
 note: move occurred here
# |   965 |     std::move(container1);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1013:5:
 warning: 'container' used after it was moved [bugprone-use-after-move]
# |  1013 |     container.assign(0, 0);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1012:5:
 note: move occurred here
# |  1012 |     std::move(container);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1022:5:
 warning: 'container1' used after it was moved [bugprone-use-after-move]
# |  1022 |     container1.empty();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1020:5:
 note: move occurred here
# |  1020 |     std::move(container1);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1064:5:
 warning: 'obj' used after it was moved [bugprone-use-after-move]
# |  1064 |     obj.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1063:5:
 note: move occurred here
# |  1063 |     std::move(obj);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1080:5:
 warning: 'obj1' used after it was moved [bugprone-use-after-move]
# |  1080 |     obj1.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1078:5:
 note: move occurred here
# |  1078 |     std::move(obj1);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1114:17:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1114 |     passByValue(a.getInt(), std::move(a));
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1114:29:
 note: move occurred here
# |  1114 |     passByValue(a.getInt(), std::move(a));
# |       |                             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1114:17:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1114 |     passByValue(a.getInt(), std::move(a));
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1121:31:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1121 |     passByValue(std::move(a), a.getInt());
# |       |                               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1121:17:
 note: move occurred here
# |  1121 |     passByValue(std::move(a), a.getInt());
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1121:31:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1121 |     passByValue(std::move(a), a.getInt());
# |       |                               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1129:9:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1129 |     g(g(a, std::move(a)), g(a, std::move(a)));
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1129:27:
 note: move occurred here
# |  1129 |     g(g(a, std::move(a)), g(a, std::move(a)));
# |       |                           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1129:9:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1129 |     g(g(a, std::move(a)), g(a, std::move(a)));
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1129:29:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1129 |     g(g(a, std::move(a)), g(a, std::move(a)));
# |       |                             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1129:7:
 note: move occurred here
# |  1129 |     g(g(a, std::move(a)), g(a, std::move(a)));
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1129:29:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1129 |     g(g(a, std::move(a)), g(a, std::move(a)));
# |       |                             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1149:7:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1149 |     v[a.getInt()] = intFromA(std::move(a));
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1149:21:
 note: move occurred here
# |  1149 |     v[a.getInt()] = intFromA(std::move(a));
# |       |                     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1149:7:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1149 |     v[a.getInt()] = intFromA(std::move(a));
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1157:44:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1157 |     v[intFromA(std::move(a))] = intFromInt(a.i);
# |       |                                            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1157:7:
 note: move occurred here
# |  1157 |     v[intFromA(std::move(a))] = intFromInt(a.i);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1157:44:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1157 |     v[intFromA(std::move(a))] = intFromInt(a.i);
# |       |                                            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1175:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1175 |     a.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1174:17:
 note: move occurred here
# |  1174 |     passByValue(std::move(a), (a = A()));
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1182:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1182 |     a.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1181:28:
 note: move occurred here
# |  1181 |     passByValue((a = A()), std::move(a));
# |       |                            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1205:17:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1205 |     passByValue(a.getInt(), (a = A()));
# |       |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1204:5:
 note: move occurred here
# |  1204 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1212:28:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1212 |     passByValue((a = A()), a.getInt());
# |       |                            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1211:5:
 note: move occurred here
# |  1211 |     std::move(a);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1229:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1229 |     a.foo();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1228:16:
 note: move occurred here
# |  1228 |     (a = A()), A(std::move(a));
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1265:25:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1265 |     S2 s2{std::move(a), a.getInt()};
# |       |                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1265:11:
 note: move occurred here
# |  1265 |     S2 s2{std::move(a), a.getInt()};
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1271:35:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1271 |     S2 s2{.a = std::move(a), .i = a.getInt()};
# |       |                                   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1271:11:
 note: move occurred here
# |  1271 |     S2 s2{.a = std::move(a), .i = a.getInt()};
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1284:25:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1284 |     S3 s3{std::move(a), a.getInt()};
# |       |                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1284:11:
 note: move occurred here
# |  1284 |     S3 s3{std::move(a), a.getInt()};
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1301:31:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1301 |     A a1 = std::move(a), a2 = a;
# |       |                               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1301:12:
 note: move occurred here
# |  1301 |     A a1 = std::move(a), a2 = a;
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1325:41:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1325 |     if (A(std::move(a)).getInt() > 0 && a.getInt() > 0) {
# |       |                                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1325:9:
 note: move occurred here
# |  1325 |     if (A(std::move(a)).getInt() > 0 && a.getInt() > 0) {
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1339:41:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1339 |     if (A(std::move(a)).getInt() > 0 || a.getInt() > 0) {
# |       |                                         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1339:9:
 note: move occurred here
# |  1339 |     if (A(std::move(a)).getInt() > 0 || a.getInt() > 0) {
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1385:43:
 warning: 'a1' used after it was moved [bugprone-use-after-move]
# |  1385 |     if (A a1; A(std::move(a1)).getInt() > a1.getInt()) {}
# |       |                                           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1385:15:
 note: move occurred here
# |  1385 |     if (A a1; A(std::move(a1)).getInt() > a1.getInt()) {}
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1385:43:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1385 |     if (A a1; A(std::move(a1)).getInt() > a1.getInt()) {}
# |       |                                           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1392:33:
 warning: 'a1' used after it was moved [bugprone-use-after-move]
# |  1392 |     if (A a2 = std::move(a1); A(a1) > 0) {}
# |       |                                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1392:16:
 note: move occurred here
# |  1392 |     if (A a2 = std::move(a1); A(a1) > 0) {}
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1424:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1424 |     a->bar(consumeA(std::move(a)));
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1424:21:
 note: move occurred here
# |  1424 |     a->bar(consumeA(std::move(a)));
# |       |                     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1424:5:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1424 |     a->bar(consumeA(std::move(a)));
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1432:31:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1432 |     getArg(std::move(a))->bar(a->getInt());
# |       |                               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1432:12:
 note: move occurred here
# |  1432 |     getArg(std::move(a))->bar(a->getInt());
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1432:31:
 note: the use and move are unsequenced, i.e. there is no guarantee about the 
order in which they are evaluated
# |  1432 |     getArg(std::move(a))->bar(a->getInt());
# |       |                               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1442:5:
 warning: 'a' used after it was moved [bugprone-use-after-move]
# |  1442 |     a.bar(consumeA(std::move(a)));
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1442:11:
 note: move occurred here
# |  1442 |     a.bar(consumeA(std::move(a)));
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1514:11:
 warning: 'val' used after it was moved [bugprone-use-after-move]
# |  1514 |         b{val.empty()}
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1513:9:
 note: move occurred here
# |  1513 |         s{std::move(val)},
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1530:12:
 warning: 'val' used after it was moved [bugprone-use-after-move]
# |  1530 |         b{[&] { return val.empty(); }()},
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1529:9:
 note: move occurred here
# |  1529 |         s{std::move(val)},
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1536:18:
 warning: 'str' used after it was moved [bugprone-use-after-move]
# |  1536 |           return str.empty();
# |       |                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1535:11:
 note: move occurred here
# |  1535 |           std::move(str);
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1540:15:
 warning: 'val' used after it was moved [bugprone-use-after-move]
# |  1540 |     std::move(val);
# |       |               ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1529:9:
 note: move occurred here
# |  1529 |         s{std::move(val)},
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1545:5:
 warning: 'val2' used after it was moved [bugprone-use-after-move]
# |  1545 |     val2.empty();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1544:5:
 note: move occurred here
# |  1544 |     std::move(val2);
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1562:11:
 warning: 'val' used after it was moved [bugprone-use-after-move]
# |  1562 |         b{val.empty()},
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1564:9:
 note: move occurred here
# |  1564 |         s{std::move(val)} {} // wrong order
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1587:55:
 warning: 'b' used after it was moved [bugprone-use-after-move]
# |  1587 |   CtorA(Obj b) : CtorB{b}, CtorC{std::move(b)}, CtorD{b} {}
# |       |                                                       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1587:34:
 note: move occurred here
# |  1587 |   CtorA(Obj b) : CtorB{b}, CtorC{std::move(b)}, CtorD{b} {}
# |       |                                  ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1617:74:
 warning: 'b' used after it was moved [bugprone-use-after-move]
# |  1617 |       : Base{[c = std::move(b)] mutable { return std::move(c); }}, 
CtorC{b} {}
# |       |                                                                     
     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1617:19:
 note: move occurred here
# |  1617 |       : Base{[c = std::move(b)] mutable { return std::move(c); }}, 
CtorC{b} {}
# |       |                   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1625:5:
 warning: 'val' used after it was moved [bugprone-use-after-move]
# |  1625 |     val.empty();
# |       |     ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1624:30:
 note: move occurred here
# |  1624 |   PR38187(std::string val) : val_(std::move(val)) {
# |       |                              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1647:27:
 warning: 't' used after it was forwarded [bugprone-use-after-move]
# |  1647 |   consume(std::forward<T>(t));
# |       |                           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1646:11:
 note: forward occurred here
# |  1646 |   consume(std::forward<T>(t));
# |       |           ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1678:3:
 warning: 'db1' used after it was invalidated [bugprone-use-after-move]
# |  1678 |   db1.Query();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1677:7:
 note: invalidation occurred here
# |  1677 |   db1.CloseConnection();
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1684:3:
 warning: 'db2' used after it was invalidated [bugprone-use-after-move]
# |  1684 |   db2.Query();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1683:3:
 note: invalidation occurred here
# |  1683 |   DB::StaticCloseConnection(db2);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1690:3:
 warning: 'db3' used after it was invalidated [bugprone-use-after-move]
# |  1690 |   db3.Query();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1689:3:
 note: invalidation occurred here
# |  1689 |   DB().StaticCloseConnection(db3);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1696:3:
 warning: 'db4' used after it was invalidated [bugprone-use-after-move]
# |  1696 |   db4.Query();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1695:3:
 note: invalidation occurred here
# |  1695 |   FriendCloseConnection(db4);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1702:3:
 warning: 'db5' used after it was invalidated [bugprone-use-after-move]
# |  1702 |   db5.Query();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1701:3:
 note: invalidation occurred here
# |  1701 |   FriendCloseConnection(db5, /*disconnect timeout*/ 5);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1730:3:
 warning: 'db1' used after it was moved [bugprone-use-after-move]
# |  1730 |   db1.Reset();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1729:3:
 note: move occurred here
# |  1729 |   std::move(db1);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1735:3:
 warning: 'db2' used after it was moved [bugprone-use-after-move]
# |  1735 |   db2.Query();
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1734:3:
 note: move occurred here
# |  1734 |   std::move(db2);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1752:3:
 warning: 'db5' used after it was moved [bugprone-use-after-move]
# |  1752 |   db5.Reset(0, 1.5, "extra");
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1751:3:
 note: move occurred here
# |  1751 |   std::move(db5);
# |       |   ^
# | Suppressed 126 warnings (126 with check filters).
# | 
# | ------------------------------------------------------------------
# | ------------------------------ Fixes -----------------------------
# | 
# | ------------------------------------------------------------------
# | FileCheck 
-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp.notes
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp
 -check-prefixes=CHECK-NOTES,CHECK-NOTES-CXX11 
-implicit-check-not={{note|warning|error}}: failed:
# | command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
# | -implicit-check-not='{{note|warning|error}}:'
# |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp.notes:494:164:
 note: found here
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1730:3:
 warning: 'db1' used after it was moved [bugprone-use-after-move]
# |                                                                             
                                                                                
       ^~~~~~~~
# | 
# | Input file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp.notes
# | Check file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |         489:  1702 | db5.Query(); 
# |         490:  | ^ 
# |         491: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1701:3:
 note: invalidation occurred here 
# |         492:  1701 | FriendCloseConnection(db5, /*disconnect timeout*/ 5); 
# |         493:  | ^ 
# |         494: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1730:3:
 warning: 'db1' used after it was moved [bugprone-use-after-move] 
# | not:imp1                                                                    
                                                                                
                    !~~~~~~~                                                    
      error: no match expected
# |         495:  1730 | db1.Reset(); 
# |         496:  | ^ 
# |         497: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/use-after-move.cpp.tmp.cpp:1729:3:
 note: move occurred here 
# |         498:  1729 | std::move(db1); 
# |         499:  | ^ 
# |           .
# |           .
# |           .
# | >>>>>>
# | 
# `-----------------------------
# .---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 413, 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 409, 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 313, in run
# |     self.check_notes(clang_tidy_output)
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 292, in check_notes
# |     try_run(
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 63, 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/bugprone/Output/use-after-move.cpp.tmp.cpp.notes',
 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp',
 '-check-prefixes=CHECK-NOTES,CHECK-NOTES-CXX11', 
'-implicit-check-not={{note|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/172784
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to