[libc-commits] [libc] [libc] Implement vasprintf (PR #98824)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Sun Jul 14 11:23:27 PDT 2024
================
@@ -967,6 +967,13 @@ def StdC : StandardSpec<"stdc"> {
RetValSpec<IntType>,
[ArgSpec<IntType>, ArgSpec<FILEPtr>]
>,
+ FunctionSpec<
+ "vasprintf",
+ RetValSpec<IntType>,
+ [ArgSpec<CharRestrictedPtrPtr>,
----------------
SchrodingerZhu wrote:
Could you point me to the spec that provides the restrict attribute? Although I think it is fine to have this flag, the manpage I checked does not seem to have it.
https://github.com/llvm/llvm-project/pull/98824
More information about the libc-commits
mailing list