OSDN Git Service

Add condition to MUST_NOT_THROW_EXPR.
authortorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2011 12:05:18 +0000 (12:05 +0000)
committertorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2011 12:05:18 +0000 (12:05 +0000)
commitf9069149bc72f85750425dc89b7075cb1572b438
treeac7dd9b4a8d33d3c0e997a93a36a45d93fac060b
parent273d05b3ed91fa47a5fb9ef16592f3d7eeb527b2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182233 138bc75d-0d04-0410-961f-82ee72b054a4
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