[all-commits] [llvm/llvm-project] ef804d: [libc++] Simplify when the sized global deallocati...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Tue Jan 14 13:21:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef804d8f9b4ef4ff39e873d5910e94887519bdb6
      https://github.com/llvm/llvm-project/commit/ef804d8f9b4ef4ff39e873d5910e94887519bdb6
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M libcxx/include/__new/global_new_delete.h
    M libcxxabi/src/CMakeLists.txt

  Log Message:
  -----------
  [libc++] Simplify when the sized global deallocations overloads are available (#114667)

There doesn't seem to be much benefit in always providing declarations
for the sized deallocations from C++14 onwards if the user explicitly
passed `-fno-sized-deallocation` to disable them. This patch simplifies
the declarations to be available exactly when the compiler expects sized
deallocation functions to be available.



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