[PATCH] D68377: [Builtins] Teach Clang about memccpy

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 12:32:30 PDT 2019


aaron.ballman added a comment.

Test cases?



================
Comment at: include/clang/Basic/Builtins.def:483
 BUILTIN(__builtin_memcpy, "v*v*vC*z", "nF")
+BUILTIN(__builtin_memccpy, "v*v*vC*iz", "nF")
 BUILTIN(__builtin_memmove, "v*v*vC*z", "nF")
----------------
GCC doesn't seem to have `__builtin_memccpy`? https://godbolt.org/z/jbthQ3


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

https://reviews.llvm.org/D68377





More information about the cfe-commits mailing list