From 5b3a51fda15218f3cd54b5f8a6dc1b5908bead81 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Tue, 7 Dec 2021 16:07:24 -0800 Subject: [PATCH] [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 --- libc/src/string/memory_utils/elements.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/src/string/memory_utils/elements.h b/libc/src/string/memory_utils/elements.h index 09a2445..c2b2f00 100644 --- a/libc/src/string/memory_utils/elements.h +++ b/libc/src/string/memory_utils/elements.h @@ -506,7 +506,7 @@ template 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 struct Builtin { #elif __has_builtin(__builtin_memcpy) __builtin_memcpy(dst, src, SIZE); #else - ForLoopCopy(dst, src); + for_loop_copy(dst, src); #endif } -- 2.7.4