[clang-tools-extra] [clang-tidy] Fix bugprone-tagged-union-member-count false-positive (PR #135831)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 12 16:51:13 PDT 2025
=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?=,=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?=,
=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?=,=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?=
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/135831 at github.com>
================
@@ -140,6 +140,12 @@ Changes in existing checks
calls of ``std::string`` constructor with char pointer, start position and
length parameters.
+- Improved :doc:`bugprone-tagged-union-member-count
+ <clang-tidy/checks/bugprone/tagged-union-member-count>` by fixing a false
+ positive when typedefed enums or unions from system header files or the
----------------
5chmidti wrote:
not just aliased unions and enums, all unions and enums
https://github.com/llvm/llvm-project/pull/135831
More information about the cfe-commits
mailing list