[all-commits] [llvm/llvm-project] 4e0876: [libc++] Use __underlying_type directly in underyl...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sun Apr 13 02:01:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e0876ee43d00c5fc28ed30bcb7c1aac2b18674f
      https://github.com/llvm/llvm-project/commit/4e0876ee43d00c5fc28ed30bcb7c1aac2b18674f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M libcxx/include/__atomic/memory_order.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__type_traits/underlying_type.h
    M libcxx/include/__utility/convert_to_integral.h
    M libcxx/include/__utility/to_underlying.h
    M libcxx/include/future

  Log Message:
  -----------
  [libc++] Use __underlying_type directly in underyling_type_t (#135423)

This avoids instantiating multiple classes, reducing compile times. This
patch also introduces `__underyling_type_t` for internal use, similar to
other type traits.



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