diff options
author | Konstantin Varlamov <varconst@apple.com> | 2021-12-14 14:11:37 -0800 |
---|---|---|
committer | Konstantin Varlamov <varconst@apple.com> | 2021-12-14 14:11:46 -0800 |
commit | 3f630cff65fc6aa69f951916442a8fb1de11be65 (patch) | |
tree | e3b5c63a2a5d160623764d5f8bcd4f6cb5e33625 /llvm/lib/ExecutionEngine/Orc/ObjectFileInterface.cpp | |
parent | 624f12d34f94a9e814753f26f0b499870697b68c (diff) | |
download | llvm-3f630cff65fc6aa69f951916442a8fb1de11be65.zip llvm-3f630cff65fc6aa69f951916442a8fb1de11be65.tar.gz llvm-3f630cff65fc6aa69f951916442a8fb1de11be65.tar.bz2 |
[libc++][ranges] Implement ranges::uninitialized_default_construct{,_n}.
Defined in [`specialized.algorithms`](wg21.link/specialized.algorithms).
Also:
- refactor the existing non-range implementation so that most of it
can be shared between the range-based and non-range-based algorithms;
- remove an existing test for the non-range version of
`uninitialized_default_construct{,_n}` that likely triggered undefined
behavior (it read the values of built-ins after default-initializing
them, essentially reading uninitialized memory).
Reviewed By: #libc, Quuxplusone, ldionne
Differential Revision: https://reviews.llvm.org/D115315
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ObjectFileInterface.cpp')
0 files changed, 0 insertions, 0 deletions