[all-commits] [llvm/llvm-project] 35db98: [ADT] Modernize type traits in BitmaskEnum.h (NFC)...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Oct 22 06:51:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35db983596f0f7deb67e261d77b0daad0bbe5ba9
      https://github.com/llvm/llvm-project/commit/35db983596f0f7deb67e261d77b0daad0bbe5ba9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M llvm/include/llvm/ADT/BitmaskEnum.h

  Log Message:
  -----------
  [ADT] Modernize type traits in BitmaskEnum.h (NFC) (#164567)

This patch replaces std::enable_if_t with std::void_t in two type
traits.  Both approaches enable the template specialization if and
only if the LLVM_BITMASK_LARGEST_ENUMERATOR enumerator exists.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list