[all-commits] [llvm/llvm-project] c623a6: [libc] Fix warning in ExecuteFunctionUnix.cpp
Alex Brachet via All-commits
all-commits at lists.llvm.org
Wed Jan 25 08:52:13 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c623a6865fde1b5c89c52eb1301b086091ff75ba
https://github.com/llvm/llvm-project/commit/c623a6865fde1b5c89c52eb1301b086091ff75ba
Author: Alex Brachet <abrachet at google.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M libc/utils/testutils/ExecuteFunction.h
M libc/utils/testutils/ExecuteFunctionUnix.cpp
Log Message:
-----------
[libc] Fix warning in ExecuteFunctionUnix.cpp
WIFEXITED and friends expect an `int *` but these methods
were marked `const` so they instead got a `const int *`.
This macros aren't actually modifying their argument, but
we were never using these functions on an immutable
`ProcessStatus` type anyway.
More information about the All-commits
mailing list