[all-commits] [llvm/llvm-project] 5f2389: [libc++] Do not redeclare lgamma_r when targeting ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Aug 27 14:46:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f2389d49fef36ed2e97dcc6b54036542c160a36
https://github.com/llvm/llvm-project/commit/5f2389d49fef36ed2e97dcc6b54036542c160a36
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
M libcxx/include/__configuration/platform.h
M libcxx/include/__random/binomial_distribution.h
Log Message:
-----------
[libc++] Do not redeclare lgamma_r when targeting the LLVM C library (#102036)
We use lgamma_r for the random normal distribution support. In this
code we redeclare it, which causes issues with the LLVM C library as
this function is marked noexcept in LLVM libc. This patch ensures that
we don't redeclare that function when targeting LLVM libc.
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