[libc-commits] [libc] [libc][obvious] Fixed wchar.yaml (PR #142238)
via libc-commits
libc-commits at lists.llvm.org
Fri May 30 16:28:17 PDT 2025
https://github.com/sribee8 created https://github.com/llvm/llvm-project/pull/142238
Changed __restricted to __restrict for wmemcpy.
>From 05d7e39bb13ad8195ddecb2b3bce49ef9493c521 Mon Sep 17 00:00:00 2001
From: Sriya Pratipati <sriyap at google.com>
Date: Fri, 30 May 2025 23:26:10 +0000
Subject: [PATCH] [libc][obvious] Fixed wchar.yaml
Changed __restricted to __restrict for wmemcpy.
---
libc/include/wchar.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/include/wchar.yaml b/libc/include/wchar.yaml
index bd9105f69222c..bfd9a10342019 100644
--- a/libc/include/wchar.yaml
+++ b/libc/include/wchar.yaml
@@ -69,6 +69,6 @@ functions:
- stdc
return_type: wchar_t *
arguments:
- - type: __restricted wchar_t *
- - type: const __ restricted wchar_t *
+ - type: __restrict wchar_t *
+ - type: const __restrict wchar_t *
- type: size_t
More information about the libc-commits
mailing list