[libc-commits] [libc] f0b9309 - [libc] Added const modifier to SigSetPtrType (#96252)
via libc-commits
libc-commits at lists.llvm.org
Fri Jun 21 10:42:59 PDT 2024
Author: RoseZhang03
Date: 2024-06-21T17:42:56Z
New Revision: f0b93096690ebc98017c05b58202fa5a3a84d7ea
URL: https://github.com/llvm/llvm-project/commit/f0b93096690ebc98017c05b58202fa5a3a84d7ea
DIFF: https://github.com/llvm/llvm-project/commit/f0b93096690ebc98017c05b58202fa5a3a84d7ea.diff
LOG: [libc] Added const modifier to SigSetPtrType (#96252)
Function header files for epoll_pwait and epoll_pwait2 have const
modifier on
SigSetPtrType in function signature, but the linux.td file does not
reflect that.
.td file located in libc/spec/linux.td
epoll functions located in libc/src/sys/epoll
Added:
Modified:
libc/spec/linux.td
Removed:
################################################################################
diff --git a/libc/spec/linux.td b/libc/spec/linux.td
index f91f55ddac784..82630ff413c73 100644
--- a/libc/spec/linux.td
+++ b/libc/spec/linux.td
@@ -205,7 +205,7 @@ def Linux : StandardSpec<"Linux"> {
ArgSpec<StructEpollEventPtr>,
ArgSpec<IntType>,
ArgSpec<IntType>,
- ArgSpec<SigSetPtrType>
+ ArgSpec<ConstSigSetPtrType>
]
>,
FunctionSpec<
@@ -216,7 +216,7 @@ def Linux : StandardSpec<"Linux"> {
ArgSpec<StructEpollEventPtr>,
ArgSpec<IntType>,
ArgSpec<ConstStructTimeSpecPtr>,
- ArgSpec<SigSetPtrType>
+ ArgSpec<ConstSigSetPtrType>
]
>,
] // Functions
More information about the libc-commits
mailing list