[libc][obvious] fix missed rename
authorMichael Jones <michaelrj@google.com>
Wed, 8 Dec 2021 00:07:24 +0000 (16:07 -0800)
committerMichael Jones <michaelrj@google.com>
Wed, 8 Dec 2021 00:09:37 +0000 (16:09 -0800)
In https://reviews.llvm.org/D114302 I renamed ForLoopCopy to
for_loop_copy, but these got missed.

Differential Revision: https://reviews.llvm.org/D115303

libc/src/string/memory_utils/elements.h

index 09a2445..c2b2f00 100644 (file)
@@ -506,7 +506,7 @@ template <size_t Size> struct Builtin {
 
   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 @@ template <size_t Size> struct Builtin {
 #elif __has_builtin(__builtin_memcpy)
     __builtin_memcpy(dst, src, SIZE);
 #else
-    ForLoopCopy(dst, src);
+    for_loop_copy(dst, src);
 #endif
   }