Skip to content

Conversation

@sribee8
Copy link
Contributor

@sribee8 sribee8 commented May 30, 2025

Changed __restricted to __restrict for wmemcpy.

Changed __restricted to __restrict for wmemcpy.
@llvmbot llvmbot added the libc label May 30, 2025
@llvmbot
Copy link
Member

llvmbot commented May 30, 2025

@llvm/pr-subscribers-libc

Author: None (sribee8)

Changes

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

@michaelrj-google michaelrj-google merged commit 339851e into llvm:main May 30, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants