[clang-tools-extra] [clang-tidy] Fix bugprone-tagged-union-member-count false-positive (PR #135831)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 17 06:08:18 PDT 2025


=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?=,=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/135831 at github.com>


vbvictor wrote:

I'm not sure if we need to check explicitly if some `struct`/`enum` comes from `std` since all `std` namespace is already placed in system headers unless some niece cases like `std::hash<>`. I'm okay leaving it as is, but please then add test with `std` namespace because now only system headers are tested.

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


More information about the cfe-commits mailing list