[libc-commits] [libc] [libc][obvious] Fixed wchar.yaml (PR #142238)

via libc-commits libc-commits at lists.llvm.org
Fri May 30 16:28:54 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (sribee8)

<details>
<summary>Changes</summary>

Changed __restricted to __restrict for wmemcpy.

---
Full diff: https://github.com/llvm/llvm-project/pull/142238.diff


1 Files Affected:

- (modified) libc/include/wchar.yaml (+2-2) 


``````````diff
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

``````````

</details>


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


More information about the libc-commits mailing list