llvm-project
433c1279 - [libc] Clean up redundant libc_errno includes and dependencies. (#237273)

Commit
15 days ago
[libc] Clean up redundant libc_errno includes and dependencies. (#237273) - Replace `src/__support/libc_errno.h` with `hdr/errno_macros.h` in pthread, spawn, stdio, threads, time, and test files that only use errno constants. - Remove unused `libc_errno.h` includes and `libc.src.__support.libc_errno` dependencies from err, stdio, syscall_wrappers, and tests. - Remove redundant `libc.src.errno.errno` / `:errno` dependencies from math, unistd, mman, test, and fuzzer targets in CMake and Bazel. Assisted-by: Gemini
Author
Parents
Loading