diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-07-31 23:35:09 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-07-31 23:35:09 +0000 |
commit | 96beffba15bce42e086fde5569a67c5bbf4243ee (patch) | |
tree | c8bb41985ed79f9d8d115c9a7d5d4c94e7f3127f /libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp | |
parent | 5802ab265cd36c0f75cbe906c3f2ca5addc9e48d (diff) | |
download | bcm5719-llvm-96beffba15bce42e086fde5569a67c5bbf4243ee.tar.gz bcm5719-llvm-96beffba15bce42e086fde5569a67c5bbf4243ee.zip |
[constexpr] Support for constant evaluation of __builtin_memcpy and
__builtin_memmove (in non-type-punning cases).
This is intended to permit libc++ to make std::copy etc constexpr
without sacrificing the optimization that uses memcpy on
trivially-copyable types.
__builtin_strcpy and __builtin_wcscpy are not handled by this change.
They'd be straightforward to add, but we haven't encountered a need for
them just yet.
llvm-svn: 338455
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp')
0 files changed, 0 insertions, 0 deletions