[libc-commits] [libc] [libc][unistd] Fix generated at-function prototypes (PR #195341)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Fri May 1 13:11:12 PDT 2026


================
@@ -0,0 +1,27 @@
+//===-- Unittests for unistd ----------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include <unistd.h>
----------------
vonosmas wrote:

Thank you for fixing the prototypes! I think, however, that we need a more general approach towards validating the generated headers against the POSIX (and C) specs than decltype validation for inidividual functions (there are just too many of those, and decltype declarations may also have errors).

https://github.com/llvm/llvm-project/pull/195341


More information about the libc-commits mailing list