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

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


Author: sribee8
Date: 2025-05-30T16:41:11-07:00
New Revision: 339851e1402eb9d86c0c88f8cd0f5e711ceec578

URL: https://github.com/llvm/llvm-project/commit/339851e1402eb9d86c0c88f8cd0f5e711ceec578
DIFF: https://github.com/llvm/llvm-project/commit/339851e1402eb9d86c0c88f8cd0f5e711ceec578.diff

LOG: [libc][obvious] Fixed wchar.yaml (#142238)

Changed __restricted to __restrict for wmemcpy.

Co-authored-by: Sriya Pratipati <sriyap at google.com>

Added: 
    

Modified: 
    libc/include/wchar.yaml

Removed: 
    


################################################################################
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