[clang-tools-extra] [clang-tidy] detect redundant uses of LLVM's cast, dyn_cast (PR #189274)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 1 23:04:34 PDT 2026
================
@@ -0,0 +1,24 @@
+.. title:: clang-tidy - llvm-redundant-casting
+
+llvm-redundant-casting
+======================
+
+Points out uses of ``cast<>``, ``dyn_cast<>`` and their ``or_null`` variants
----------------
zeyi2 wrote:
Nit: Could we add the full list of supported functions at the end of the documentation?
https://github.com/llvm/llvm-project/pull/189274
More information about the cfe-commits
mailing list