[clang-tools-extra] [clang-tidy] fix false positive when member initialization depends on structured binging variable in cppcoreguidelines-prefer-member-initializer (PR #108743)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 15 15:45:07 PDT 2024
================
@@ -111,6 +111,10 @@ Changes in existing checks
<clang-tidy/checks/bugprone/casting-through-void>` check to suggest replacing
the offending code with ``reinterpret_cast``, to more clearly express intent.
+- Improved :doc:`cppcoreguidelines-prefer-member-initializer
+ <clang-tidy/checks/cppcoreguidelines/prefer-member-initializer>` check to avoid
+ false positive when member initialization depends on structured binging variable.
----------------
5chmidti wrote:
`on a structured binding variable`
https://github.com/llvm/llvm-project/pull/108743
More information about the cfe-commits
mailing list