[all-commits] [llvm/llvm-project] b9b738: [libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on ...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Thu Apr 25 06:54:12 PDT 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: b9b73814ad8acd55e88d0415f4110d272797697d
https://github.com/llvm/llvm-project/commit/b9b73814ad8acd55e88d0415f4110d272797697d
Author: Martin Storsjö <martin at martin.st>
Date: 2024-04-25 (Thu, 25 Apr 2024)
Changed paths:
M libcxx/modules/std.compat/cstdlib.inc
Log Message:
-----------
[libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on aligned_alloc (#89827)
This is missing e.g. on Windows. With this change, it's possible to make
the libcxx std module work on mingw-w64 (although that requires a few
fixes to those headers).
In the regular cstdlib header, we have _LIBCPP_USING_IF_EXISTS flagged
on every single reexported function (since
a9c9183ca42629fa83cdda297d1d30c7bc1d7c91), but the modules seem to only
have _LIBCPP_USING_IF_EXISTS set on a few individual functions, so far.
(cherry picked from commit 91526d64a8adb14edc55adfd5270858791822837)
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