[clang-tools-extra] [clang-tidy] Fix `cppcoreguidelines-pro-type-member-init` check (PR #169832)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 2 12:06:11 PST 2025


================
@@ -424,6 +424,11 @@ Changes in existing checks
   adding an option to allow pointer arithmetic via prefix/postfix increment or
   decrement operators.
 
+- Improved :doc:`cppcoreguidelines-pro-type-member-init
+  <clang-tidy/checks/cppcoreguidelines/pro-type-member-init>` check to
+  correctly ignore ``std::array`` and other containers when `IgnoreArrays`
----------------
vbvictor wrote:

```suggestion
  correctly ignore ``std::array`` and other array-like containers when `IgnoreArrays`
```
note on line lengths

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


More information about the cfe-commits mailing list