[all-commits] [llvm/llvm-project] 0c3a2f: [libc++] Simplify the implementation of __libcpp_{...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Tue Jul 15 02:44:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c3a2faa8505bb4a6d56682b7e63368a246e7ba1
      https://github.com/llvm/llvm-project/commit/0c3a2faa8505bb4a6d56682b7e63368a246e7ba1
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M libcxx/include/__new/allocate.h

  Log Message:
  -----------
  [libc++] Simplify the implementation of __libcpp_{,de}allocate (#147989)

GCC 15 also supports `__buitin_operator_{new,delete}` now, so the
`#else` cases are dead code. This patch inlines the calls to the wrapper
functions and simplifies some surrounding code.



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