[libc-commits] [clang] [libc] [llvm] [clang] Make __builtin_expf constexpr. (PR #140841)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Tue May 20 23:06:34 PDT 2025
================
@@ -83,14 +45,11 @@ Errno::operator int() { return shared_errno; }
void Errno::operator=(int a) { *__llvm_libc_errno() = a; }
Errno::operator int() { return *__llvm_libc_errno(); }
-#elif LIBC_ERRNO_MODE == LIBC_ERRNO_MODE_SYSTEM
----------------
vonosmas wrote:
I think it may be cleaner to add this elif in place, and just leave nothing inside, with a comment that in this case the implementation is provided by support header.
https://github.com/llvm/llvm-project/pull/140841
More information about the libc-commits
mailing list