diff options
author | Torvald Riegel <triegel@redhat.com> | 2011-12-12 12:05:18 +0000 |
---|---|---|
committer | Torvald Riegel <torvald@gcc.gnu.org> | 2011-12-12 12:05:18 +0000 |
commit | f2162c3daa351c9ceeceaea0f033595f90f858ca (patch) | |
tree | ac7dd9b4a8d33d3c0e997a93a36a45d93fac060b /gcc/testsuite/g++.dg/tm/noexcept-5.C | |
parent | 5f23640f57cdd908c105b366dda7db7048dc62ef (diff) | |
download | gcc-f2162c3daa351c9ceeceaea0f033595f90f858ca.tar.gz |
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
Diffstat (limited to 'gcc/testsuite/g++.dg/tm/noexcept-5.C')
0 files changed, 0 insertions, 0 deletions