[libc-commits] [libc] [libc] Add system utility headers paths.h, values.h, and sys/cdefs.h … (PR #211860)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Fri Jul 24 13:53:27 PDT 2026
================
@@ -0,0 +1,10 @@
+header: sys/cdefs.h
----------------
vonosmas wrote:
This looks like an internal glibc header, is there a strong reason to add this?
Note that we use slightly different wording / definitions in libc/include/__llvm-libc-common.h (`__BEGIN_C_DECLS`, `__END_C_DECLS`, `__NOEXCEPT`), and `throw()` is deprecated in C++11 and later. I would suggest to exclude `<sys/cdefs.h>` from this PR, as it warrants some discussion. The other two are non-controversial (to me, at least).
https://github.com/llvm/llvm-project/pull/211860
More information about the libc-commits
mailing list