[libc-commits] [PATCH] D115303: [libc][obvious] fix missed rename

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Dec 7 16:09:05 PST 2021


michaelrj created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added a project: libc-project.
michaelrj requested review of this revision.

In https://reviews.llvm.org/D114302 I renamed ForLoopCopy to
for_loop_copy, but these got missed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115303

Files:
  libc/src/string/memory_utils/elements.h


Index: libc/src/string/memory_utils/elements.h
===================================================================
--- libc/src/string/memory_utils/elements.h
+++ libc/src/string/memory_utils/elements.h
@@ -506,7 +506,7 @@
 
   static void copy(char *__restrict dst, const char *__restrict src) {
 #if LLVM_LIBC_HAVE_MEMORY_SANITIZER || LLVM_LIBC_HAVE_ADDRESS_SANITIZER
-    ForLoopCopy(dst, src);
+    for_loop_copy(dst, src);
 #elif __has_builtin(__builtin_memcpy_inline)
     // __builtin_memcpy_inline guarantees to never call external functions.
     // Unfortunately it is not widely available.
@@ -514,7 +514,7 @@
 #elif __has_builtin(__builtin_memcpy)
     __builtin_memcpy(dst, src, SIZE);
 #else
-    ForLoopCopy(dst, src);
+    for_loop_copy(dst, src);
 #endif
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115303.392586.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211208/bd00ff8b/attachment.bin>


More information about the libc-commits mailing list