[all-commits] [llvm/llvm-project] a5cab9: [libc++][NFC] Refactor _LIBCPP_OVERRIDABLE_FUNCTIO...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Fri Jan 9 03:08:03 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a5cab90071fbf6f700c95c337d850845ccc9ed9b
https://github.com/llvm/llvm-project/commit/a5cab90071fbf6f700c95c337d850845ccc9ed9b
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2026-01-09 (Fri, 09 Jan 2026)
Changed paths:
M libcxx/src/include/overridable_function.h
M libcxx/src/new.cpp
M libcxxabi/src/stdlib_new_delete.cpp
Log Message:
-----------
[libc++][NFC] Refactor _LIBCPP_OVERRIDABLE_FUNCTION to be a normal attribute macro (#174964)
Currently `_LIBCPP_OVERRIDABLE_FUNCTION` takes the return type, function
name and argument list, but simply constructs the function and adds
attributes without modifying the signature in any way. We can replace
this with a normal attribute macro, making the signature easier to read
and simpler to understand what's actually going on. Since it's an
internal macro we can also drop the `_LIBCPP_` prefix.
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