You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
This diff fixes some variables that are used after a call to `std::move`, as detected by cland-tidy's bugprone-use-after-move-check. Intentional use after move is tagged with NOLINT.
NB: This check is very slow (~30s per file).
Jira: DB-9435
Test Plan:
You must build the ccmds database to use the ccmd tool, otherwise it will pass and say the file has no errors.
```
ybd --clang17 --ccmds
bin/ccmd --regex='.*[.]cc' clang-tidy --checks=bugprone-use-after-move >& use-after-move.txt
```
Reviewers: amitanand, rsami, xCluster, hsunder
Reviewed By: rsami, hsunder
Subscribers: yql, ycdcxcluster, esheng, skumar, timur, ybase, bogdan
Tags: #jenkins-ready
Differential Revision: https://phorge.dev.yugabyte.com/D31415
Jira Link: DB-9435
Description
cland-tidy is able to detect use-after-move errors with the
bugprone-use-after-move
. We should find and fix these.NB: This check is very slow (~30s per file).
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: