Skip to content

Commit 614762a

Browse files
committed
Add TODO about deprecating LIBC_ERRNO_MODE_SYSTEM.
1 parent 359304c commit 614762a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc/src/__support/libc_errno.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
// fullbuild mode, effectively the same as `LIBC_ERRNO_MODE_EXTERNAL`.
4242
// In this mode, the public C++ symbol `LIBC_NAMESPACE::libc_errno ` is still
4343
// exported and get redirected to the system `errno` inside its implementation.
44+
45+
// TODO: Investigate deprecating LIBC_ERRNO_MODE_SYSTEM in favor of
46+
// LIBC_ERRNO_MODE_SYSTEM_INLINE.
47+
// https://github.com/llvm/llvm-project/issues/143454
4448
#define LIBC_ERRNO_MODE_SYSTEM 5
4549
// In this mode, the libc_errno is simply a macro resolved to `errno` from the
4650
// system header <errno.h>. There is no need to link against the

0 commit comments

Comments
 (0)