[clang-tools-extra] [clang-tidy] detect redundant uses of LLVM's cast, dyn_cast (PR #189274)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 29 11:57:45 PDT 2026
================
@@ -0,0 +1,163 @@
+// RUN: %check_clang_tidy -std=c++17 %s llvm-redundant-casting %t -- -- -fno-delayed-template-parsing
----------------
localspook wrote:
```suggestion
// RUN: %check_clang_tidy -std=c++17-or-later %s llvm-redundant-casting %t -- -- -fno-delayed-template-parsing
```
https://github.com/llvm/llvm-project/pull/189274
More information about the cfe-commits
mailing list