[clang-tools-extra] [clang-tidy] Fix false positive in bugprone-use-after-move with std::forward on derived classes (PR #199905)
Peiqi Li via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 04:48:04 PDT 2026
================
@@ -457,6 +457,8 @@ Changes in existing checks
`CheckedReturnTypes` option from :doc:`bugprone-unused-return-value
<clang-tidy/checks/bugprone/unused-return-value>`, which caused false
positives on functions returning ``std::error_code`` or similar types.
+ - Avoid false positives when forwarding derived objects to base class
----------------
voyager-jhk wrote:
> Looks like incorrect merge?
I just did a git rebase. Looks like something went wrong. I'll adjust it.
And this push didn't change anything.
https://github.com/llvm/llvm-project/pull/199905
More information about the cfe-commits
mailing list