[clang-tools-extra] [clang-tidy] ignore uninitialized std::array in member init (PR #98134)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 07:55:48 PDT 2026
================
@@ -296,6 +296,10 @@ Changes in existing checks
a false positive when a base class has a forward declaration before its
definition.
+- Improved :doc:`cppcoreguidelines-pro-type-member-init
+ <clang-tidy/checks/cppcoreguidelines/pro-type-member-init>` check by treating
+ ``std::array`` the same as built-in arrays when `IgnoreArrays` is enabled.
----------------
EugeneZelenko wrote:
```suggestion
``std::array`` the same as built-in arrays when `IgnoreArrays` option is
enabled.
```
https://github.com/llvm/llvm-project/pull/98134
More information about the cfe-commits
mailing list