diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-12-13 14:50:37 -0500 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-12-13 17:55:38 -0500 |
commit | 4dd901f4d3aa072309eb23fbd8497f7916f7d77c (patch) | |
tree | 831ae9dee5810d61a363ae7f8416e66bd04ec20d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | aba437ceb2379f219935b98a10ca3c5081f0c8b7 (diff) | |
download | llvm-4dd901f4d3aa072309eb23fbd8497f7916f7d77c.zip llvm-4dd901f4d3aa072309eb23fbd8497f7916f7d77c.tar.gz llvm-4dd901f4d3aa072309eb23fbd8497f7916f7d77c.tar.bz2 |
[libc++] Fix the noexceptness of __decay_copy.
When `a` was an array type, `__decay_copy(a)` was incorrectly marking itself
noexcept(false), because it is false that `int[10]` is nothrow convertible to `int[10]`
(in fact it is not convertible at all).
We have no tests explicitly for `__decay_copy`, but the new ranges::begin
and ranges::end tests fail before this patch.
Differential Revision: https://reviews.llvm.org/D115658
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions