[libcxx-commits] [PATCH] D100277: [libc++] [test] Detect an improperly noexcept'ed __decay_copy.
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 12 05:59:00 PDT 2021
Quuxplusone accepted this revision as: Quuxplusone.
Quuxplusone added a comment.
@cjdb wrote: "Maybe it's worth cleaning up `__decay_copy` in this patch too?"
`__decay_copy` is an internal implementation detail of libc++; making it conditionally-noexcept would just slow down the compile for no visible benefit. Therefore I don't propose to make `__decay_copy` conditionally-noexcept in this patch. The point of this patch is just to add a test that will fail if anyone puts a (too blatantly) //wrong// conditional-noexcept on it.
Relevant: https://quuxplusone.github.io/blog/2018/06/12/attribute-noexcept-verify/
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100277/new/
https://reviews.llvm.org/D100277
More information about the libcxx-commits
mailing list