[clang-tools-extra] [clang-tidy] Fix handling of members in readability-redundant-member-init (PR #93217)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 13:04:06 PDT 2024


================
@@ -387,6 +387,11 @@ Changes in existing checks
   <clang-tidy/checks/readability/redundant-inline-specifier>` check to properly
   emit warnings for static data member with an in-class initializer.
 
+- Improved :doc:`readability-redundant-member-init
+  <clang-tidy/checks/readability/redundant-member-init>` check to avoid
+  false-positives when type of the member does not match type of the
+  initializer.
+
----------------
PiotrZSL wrote:

Nothing has changed for base-class initializers.

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


More information about the cfe-commits mailing list