[clang-tools-extra] [clang-tidy] Add new check bugprone-tagged-union-member-count (PR #89925)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 24 08:40:46 PDT 2024


================
@@ -142,6 +142,7 @@ Clang-Tidy Checks
    :doc:`bugprone-suspicious-stringview-data-usage <bugprone/suspicious-stringview-data-usage>`,
    :doc:`bugprone-swapped-arguments <bugprone/swapped-arguments>`, "Yes"
    :doc:`bugprone-switch-missing-default-case <bugprone/switch-missing-default-case>`,
+   :doc:`bugprone-tagged-union-member-count <bugprone/tagged-union-member-count>`, "Yes"
----------------
PiotrZSL wrote:

check does not provide fixes, so remove `"Yes"`

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


More information about the cfe-commits mailing list