[libc-commits] [PATCH] D156950: [libc][cleanup] Fix most conversion warnings
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Aug 2 16:36:33 PDT 2023
michaelrj created this revision.
michaelrj added reviewers: lntue, sivachandra, mcgrathr, abrachet, Caslyn.
Herald added subscribers: libc-commits, luke, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, javed.absar.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.
Herald added a subscriber: wangpc.
This patch is large, but is almost entirely just adding casts to calls
to syscall_impl. Much of the work was done programatically, with human
checking when the syntax or types got confusing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156950
Files:
libc/src/__support/File/linux/dir.cpp
libc/src/__support/File/linux/file.cpp
libc/src/__support/threads/linux/thread.cpp
libc/src/__support/threads/thread.cpp
libc/src/fcntl/linux/creat.cpp
libc/src/fcntl/linux/open.cpp
libc/src/fcntl/linux/openat.cpp
libc/src/sched/linux/sched_get_priority_max.cpp
libc/src/sched/linux/sched_get_priority_min.cpp
libc/src/sched/linux/sched_getaffinity.cpp
libc/src/sched/linux/sched_getparam.cpp
libc/src/sched/linux/sched_getscheduler.cpp
libc/src/sched/linux/sched_rr_get_interval.cpp
libc/src/sched/linux/sched_setaffinity.cpp
libc/src/sched/linux/sched_setparam.cpp
libc/src/sched/linux/sched_setscheduler.cpp
libc/src/sched/linux/sched_yield.cpp
libc/src/signal/linux/kill.cpp
libc/src/signal/linux/raise.cpp
libc/src/signal/linux/sigaction.cpp
libc/src/signal/linux/sigaltstack.cpp
libc/src/signal/linux/signal_utils.h
libc/src/signal/linux/sigprocmask.cpp
libc/src/spawn/linux/posix_spawn.cpp
libc/src/stdio/linux/remove.cpp
libc/src/sys/mman/linux/madvise.cpp
libc/src/sys/mman/linux/mmap.cpp
libc/src/sys/mman/linux/mprotect.cpp
libc/src/sys/mman/linux/munmap.cpp
libc/src/sys/mman/linux/posix_madvise.cpp
libc/src/sys/random/linux/getrandom.cpp
libc/src/sys/resource/linux/getrlimit.cpp
libc/src/sys/resource/linux/setrlimit.cpp
libc/src/sys/select/linux/select.cpp
libc/src/sys/sendfile/linux/sendfile.cpp
libc/src/sys/socket/linux/socket.cpp
libc/src/sys/stat/linux/chmod.cpp
libc/src/sys/stat/linux/fchmod.cpp
libc/src/sys/stat/linux/fchmodat.cpp
libc/src/sys/stat/linux/kernel_statx.h
libc/src/sys/stat/linux/mkdir.cpp
libc/src/sys/stat/linux/mkdirat.cpp
libc/src/sys/utsname/linux/uname.cpp
libc/src/sys/wait/linux/wait.cpp
libc/src/sys/wait/linux/wait4.cpp
libc/src/sys/wait/linux/waitpid.cpp
libc/src/termios/linux/tcdrain.cpp
libc/src/termios/linux/tcflow.cpp
libc/src/termios/linux/tcflush.cpp
libc/src/termios/linux/tcgetattr.cpp
libc/src/termios/linux/tcgetsid.cpp
libc/src/termios/linux/tcsendbreak.cpp
libc/src/termios/linux/tcsetattr.cpp
libc/src/time/clock_gettime.cpp
libc/src/time/gettimeofday.cpp
libc/src/time/linux/clock.cpp
libc/src/time/linux/time.cpp
libc/src/time/nanosleep.cpp
libc/src/time/time_utils.cpp
libc/src/unistd/linux/access.cpp
libc/src/unistd/linux/chdir.cpp
libc/src/unistd/linux/close.cpp
libc/src/unistd/linux/dup.cpp
libc/src/unistd/linux/dup2.cpp
libc/src/unistd/linux/dup3.cpp
libc/src/unistd/linux/execv.cpp
libc/src/unistd/linux/execve.cpp
libc/src/unistd/linux/fchdir.cpp
libc/src/unistd/linux/fork.cpp
libc/src/unistd/linux/fsync.cpp
libc/src/unistd/linux/ftruncate.cpp
libc/src/unistd/linux/getcwd.cpp
libc/src/unistd/linux/geteuid.cpp
libc/src/unistd/linux/getpid.cpp
libc/src/unistd/linux/getppid.cpp
libc/src/unistd/linux/getuid.cpp
libc/src/unistd/linux/isatty.cpp
libc/src/unistd/linux/link.cpp
libc/src/unistd/linux/linkat.cpp
libc/src/unistd/linux/lseek.cpp
libc/src/unistd/linux/pread.cpp
libc/src/unistd/linux/pwrite.cpp
libc/src/unistd/linux/read.cpp
libc/src/unistd/linux/readlink.cpp
libc/src/unistd/linux/readlinkat.cpp
libc/src/unistd/linux/rmdir.cpp
libc/src/unistd/linux/symlink.cpp
libc/src/unistd/linux/symlinkat.cpp
libc/src/unistd/linux/syscall.cpp
libc/src/unistd/linux/truncate.cpp
libc/src/unistd/linux/unlink.cpp
libc/src/unistd/linux/unlinkat.cpp
libc/src/unistd/linux/write.cpp
libc/startup/linux/aarch64/start.cpp
libc/startup/linux/riscv64/start.cpp
libc/startup/linux/x86_64/start.cpp
libc/test/src/sched/affinity_test.cpp
libc/test/src/sched/cpu_count_test.cpp
libc/test/src/signal/kill_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156950.546640.patch
Type: text/x-patch
Size: 71504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230802/e4375a75/attachment-0001.bin>
More information about the libc-commits
mailing list