[PATCH] D79279: Add overloaded versions of builtin mem* functions
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 5 12:01:13 PDT 2020
rjmccall added a comment.
I thought part of the point of `__builtin_memcpy` was so that C library headers could do `#define memcpy(x, y, z) __builtin_memcpy(x, y, z)`. If so, the conformance issue touches `__builtin_memcpy` as well, not just calls to the library builtin.
If that's not true, or if we're willing to ignore it, I agree that making `__builtin_memcpy` do the right thing for qualifiers in general is the right thing to do.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79279/new/
https://reviews.llvm.org/D79279
More information about the cfe-commits
mailing list