summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-12-11 02:17:23 +0000
committerLouis Dionne <ldionne@apple.com>2018-12-11 02:17:23 +0000
commit76cce3b2bda510e18664d2eb4f56bea8b972e13b (patch)
treef7adf898981e8504f4f787291d35b37f21817926 /clang/lib/CodeGen/CodeGenModule.cpp
parent55dbc7c19967f186926c81b9157e02173d5bd0ee (diff)
downloadbcm5719-llvm-76cce3b2bda510e18664d2eb4f56bea8b972e13b.tar.gz
bcm5719-llvm-76cce3b2bda510e18664d2eb4f56bea8b972e13b.zip
[pair] Mark constructors as conditionally noexcept
Summary: std::tuple marks its constructors as noexcept when the corresponding memberwise constructors are noexcept too -- this commit improves std::pair so that it behaves the same. Note: I did not add support in the explicit and non-explicit `pair(_Tuple&& __p)` constructors because those are non-standard extensions, and supporting them properly is tedious (we have to copy the rvalue-referenceness of the deduced _Tuple&& onto the result of tuple_element). <rdar://problem/29537079> Reviewers: mclow.lists, EricWF Subscribers: christof, llvm-commits Differential Revision: https://reviews.llvm.org/D48669 llvm-svn: 348824
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud