[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:51 PST 2021


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5b3a51fda152: [libc][obvious] fix missed rename (authored by michaelrj).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115303/new/

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.392587.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211208/b970e4b9/attachment.bin>


More information about the libc-commits mailing list