[libc] [llvm] [libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (PR #143187)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 18:29:54 PDT 2025
================
@@ -83,14 +46,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
----------------
lntue wrote:
Yes, I preserve this elif in the latest version.
https://github.com/llvm/llvm-project/pull/143187
More information about the llvm-commits
mailing list