[clang-tools-extra] [clang-tidy] Fix false positive in bugprone-use-after-move with std::forward on derived classes (PR #199905)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 1 06:34:30 PDT 2026
================
@@ -1814,3 +1814,46 @@ namespace GH62206 {
(d) = b; // Should not warn
}
} // namespace GH62206
+
+namespace GH63202 {
+
+struct Person {
----------------
vbvictor wrote:
These classes should be named with respect of what they semantically represent, like: `Derived`/`Base`. `Person`/`SpecialPerson` don't add any meaning which makes in harder to read.
https://github.com/llvm/llvm-project/pull/199905
More information about the cfe-commits
mailing list