This is an archive of the discontinued LLVM Phabricator instance.

[p0012] Implement ABI support for throwing a noexcept function pointer and catching as non-noexcept
ClosedPublic

Authored by rsmith on Oct 31 2016, 7:03 PM.

Details

Reviewers
EricWF
Summary

This implements the following proposal from cxx-abi-dev:

http://sourcerytools.com/pipermail/cxx-abi-dev/2016-October/002988.html

... which is necessary for complete support of http://wg21.link/p0012, specifically throwing noexcept function and member function pointers and catching them as non-noexcept pointers.

Diff Detail

Repository
rL LLVM

Event Timeline

rsmith updated this revision to Diff 76515.Oct 31 2016, 7:03 PM
rsmith retitled this revision from to [p0012] Implement ABI support for throwing a noexcept function pointer and catching as non-noexcept.
rsmith updated this object.
rsmith added a reviewer: EricWF.
rsmith set the repository for this revision to rL LLVM.
rsmith added a subscriber: cfe-commits.
EricWF accepted this revision.Nov 2 2016, 12:11 AM
EricWF edited edge metadata.

LGTM.

src/private_typeinfo.h
52

Could you please add a comment here which contains both links mentioned in the summary?

Until this actually makes it into the spec we should explicitly call it out.

This revision is now accepted and ready to land.Nov 2 2016, 12:11 AM
rsmith closed this revision.Dec 2 2016, 2:22 PM