]> git.ipfire.org Git - thirdparty/gcc.git/commit
* except.c (pending_noexcept, pending_noexcept_checks): New.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Aug 2010 16:59:37 +0000 (16:59 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Aug 2010 16:59:37 +0000 (16:59 +0000)
commit565fb345280bf696efb002d68680f80ea2b44897
treee43271e2f5bde4f31bf2664b89322cd4b225faac
parent6ef9bbe066d3b9482e5b186e3e4839ffed453207
* except.c (pending_noexcept, pending_noexcept_checks): New.
(perform_deferred_noexcept_checks): New.
(maybe_noexcept_warning): Split from...
(finish_noexcept_expr): ...here.  Adjust.
* decl2.c (cp_write_global_declarations): Call
perform_deferred_noexcept_checks.
* cp-tree.h: And declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163379 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept09.C [new file with mode: 0644]