[libc-commits] [PATCH] D93195: [libc] Add memmove implementation.
    Michael Jones via Phabricator via libc-commits 
    libc-commits at lists.llvm.org
       
    Mon Jan 11 12:01:48 PST 2021
    
    
  
michaelrj added inline comments.
================
Comment at: libc/src/string/memmove.cpp:25
+
+void *LLVM_LIBC_ENTRYPOINT(memmove)(void *dest, const void *src, size_t count) {
+  unsigned char *dest_c = reinterpret_cast<unsigned char *>(dest);
----------------
This line should be `LLVM_LIBC_FUNCTION(void *, memmove, (void *dest, const void *src, size_t count)) {` since we recently changed the macro that's used for external functions.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93195/new/
https://reviews.llvm.org/D93195
    
    
More information about the libc-commits
mailing list