[libc-commits] [libc] 5b3a51f - [libc][obvious] fix missed rename

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


Author: Michael Jones
Date: 2021-12-07T16:09:37-08:00
New Revision: 5b3a51fda15218f3cd54b5f8a6dc1b5908bead81

URL: https://github.com/llvm/llvm-project/commit/5b3a51fda15218f3cd54b5f8a6dc1b5908bead81
DIFF: https://github.com/llvm/llvm-project/commit/5b3a51fda15218f3cd54b5f8a6dc1b5908bead81.diff

LOG: [libc][obvious] fix missed rename

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

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libc/src/string/memory_utils/elements.h b/libc/src/string/memory_utils/elements.h
index 09a24458d2cad..c2b2f007a6c56 100644
--- a/libc/src/string/memory_utils/elements.h
+++ b/libc/src/string/memory_utils/elements.h
@@ -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
   }
 


        


More information about the libc-commits mailing list