[clang] [clang-tools-extra] [clang-tidy] Add new check: `readability-redundant-typename` (PR #161574)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 3 03:38:43 PDT 2025


================
@@ -0,0 +1,26 @@
+.. title:: clang-tidy - readability-redundant-typename
+
+readability-redundant-typename
+==============================
+
+Finds unnecessary uses of the ``typename`` keyword.
----------------
vbvictor wrote:

I think we better use `redundant`, same as in check name

```suggestion
Finds redundant uses of the ``typename`` keyword.
```
(please update other places)

https://github.com/llvm/llvm-project/pull/161574


More information about the cfe-commits mailing list