[all-commits] [llvm/llvm-project] 2274c6: [libc++] Use _If for conditional_t (#96193)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Tue Jun 25 07:53:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2274c66e6faaaf29ad693b1ae3e5a7b0228a1950
      https://github.com/llvm/llvm-project/commit/2274c66e6faaaf29ad693b1ae3e5a7b0228a1950
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M libcxx/include/__type_traits/conditional.h

  Log Message:
  -----------
  [libc++] Use _If for conditional_t (#96193)

This avoids different instantiations when the if and else types are
different, resulting in reduced memory use by the compiler.



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