]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/cp-tree.def
Add condition to MUST_NOT_THROW_EXPR.
authorTorvald Riegel <triegel@redhat.com>
Mon, 12 Dec 2011 12:05:18 +0000 (12:05 +0000)
committerTorvald Riegel <torvald@gcc.gnu.org>
Mon, 12 Dec 2011 12:05:18 +0000 (12:05 +0000)
commitf2162c3daa351c9ceeceaea0f033595f90f858ca
treeac7dd9b4a8d33d3c0e997a93a36a45d93fac060b
parent5f23640f57cdd908c105b366dda7db7048dc62ef
Add condition to MUST_NOT_THROW_EXPR.

gcc/cp/
* cp-tree.def (MUST_NOT_THROW_EXPR): Add condition parameter.
* cp-tree.h (MUST_NOT_THROW_COND): New.
(build_must_not_throw_expr): Declare.
* dump.c (cp_dump_tree): Dump MUST_NOT_THROW_EXPR condition.
* except.c (build_must_not_throw_expr): New.
(initialize_handler_parm): Use it.
(begin_eh_spec_block, wrap_cleanups_r): Adapt to condition.
* pt.c (tsubst_expr): Handle MUST_NOT_THROW_EXPR.

From-SVN: r182233
gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/dump.c
gcc/cp/except.c
gcc/cp/pt.c