[PATCH] D68377: [Builtins] Teach Clang about memccpy
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 17 08:40:16 PDT 2019
aaron.ballman added a comment.
In D68377#1698399 <https://reviews.llvm.org/D68377#1698399>, @xbolva00 wrote:
> Current solution does not work
> /home/xbolva00/LLVM/llvm/tools/clang/include/clang/Basic/Builtins.h:50:34: error: redefinition of ‘BImemccpy’
>
> #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
> ^
>
> /home/xbolva00/LLVM/llvm/tools/clang/include/clang/Basic/Builtins.h:50:34: note: in definition of macro ‘BUILTIN’
>
> #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
>
>
> @aaron.ballman, maybe you can help me how to represent that memccpy exists for GNU and MS?
We may not have the machinery needed for doing this yet, in which case, I think it's fine to ignore the MS builtin.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68377/new/
https://reviews.llvm.org/D68377
More information about the cfe-commits
mailing list