[clang-tools-extra] [clang-tidy] Prevent false-positive in presence of derived-to-base cast in bugprone.use-after-move (PR #189638)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 11 02:47:17 PDT 2026
================
@@ -0,0 +1,33 @@
+// RUN: %check_clang_tidy -std=c++11,c++14 %s bugprone-use-after-move %t
----------------
localspook wrote:
```suggestion
// RUN: %check_clang_tidy -std=c++11-or-later %s bugprone-use-after-move %t
```
https://github.com/llvm/llvm-project/pull/189638
More information about the cfe-commits
mailing list