[libcxx-commits] [libcxx] [llvm] [libc++] Make std::align an inline function (PR #167472)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 17 13:00:32 PST 2025
================
@@ -114,6 +114,10 @@ hand, backwards compatibility is generally guaranteed.
There are multiple ABI flags that change the symbols exported from the built library:
+``_LIBCPP_ABI_DO_NOT_EXPORT_ALIGN``
+-------------------------------------------------
+This removes ``align()``. In the past ``align()`` is not an inline function, but now it changed to an inline function for performance.
----------------
ldionne wrote:
```suggestion
This removes ``std::align()`` from the built library. In the past, ``std::align()`` was defined in the built library, but nowadays it is an inline function defined in the headers for performance reasons.
```
https://github.com/llvm/llvm-project/pull/167472
More information about the libcxx-commits
mailing list