[all-commits] [llvm/llvm-project] cd45bb: [libc][errno] Remove unnecessary include (#92063)
Robin Caloudis via All-commits
all-commits at lists.llvm.org
Mon May 13 21:58:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cd45bb2e435b8e648ac528ed5f5fc1dc2bba48fe
https://github.com/llvm/llvm-project/commit/cd45bb2e435b8e648ac528ed5f5fc1dc2bba48fe
Author: Robin Caloudis <robin.caloudis at gmx.de>
Date: 2024-05-14 (Tue, 14 May 2024)
Changed paths:
M libc/src/errno/libc_errno.cpp
Log Message:
-----------
[libc][errno] Remove unnecessary include (#92063)
Since https://github.com/llvm/llvm-project/pull/91150, a proxy header
for the errno macros is available and gets included in `libc_errno.h`
since then.
As `libc_errno.cpp` includes `libc_errno.h`, which already includes the
proxy header `hdr/errno_macros.h`, there's no need to include it in
`libc_errno.cpp` if we are in overlay mode, because the proxy header
takes care to either include our header from libc/include/ (fullbuild)
or the corresponding underlying system header (overlay).
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