================
@@ -208,6 +208,13 @@ New checks
 
   Detect redundant parentheses.
 
+- New :doc:`readability-redundant-typename
+  <clang-tidy/checks/readability/redundant-typename>` check.
+
+  Finds redundant uses of the ``typename`` keyword. Can be used
----------------
localspook wrote:

I've thought about that, and I'm a bit conflicted, but I think `readability` is 
still the right place. The way I see it, the check isn't _just_ about 
modernizing, since there are cases where `typename` is redundant even before 
C++20. I think of it as enforcing a version-agnostic rule (don't use `typename` 
unnecessarily), and it just so happens that the number of cases where the rule 
applies greatly expanded in C++20. 

https://github.com/llvm/llvm-project/pull/161574
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to