[libc-commits] [libc] [libc][search] implement POSIX `lsearch` function (PR #116870)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Dec 2 10:35:18 PST 2024
================
@@ -1632,6 +1632,17 @@ def POSIX : StandardSpec<"POSIX"> {
ArgSpec<SizeTType>,
ArgSpec<LSearchCompareT>
]
+ >,
+ FunctionSpec<
+ "lsearch",
+ RetValSpec<VoidPtr>,
+ [
+ ArgSpec<ConstVoidPtr>,
+ ArgSpec<VoidPtr>,
+ ArgSpec<SizeTPtr>,
+ ArgSpec<SizeTType>,
+ ArgSpec<LSearchCompareT>
+ ]
----------------
nickdesaulniers wrote:
Note: old hdrgen is about to be deleted in https://github.com/llvm/llvm-project/pull/117220, so landing this may conflict with that.
https://github.com/llvm/llvm-project/pull/116870
More information about the libc-commits
mailing list