diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-10 09:30:57 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-10 09:30:57 +0000 |
commit | efa8eda3b85969a5da8fde4c9655547a98bbe6b7 (patch) | |
tree | 19beafd58b63d74d458336a0ab574ea5e01f7f11 | |
parent | 62409b397b129d3e5b40c406c1bd91b252003353 (diff) | |
download | gcc-efa8eda3b85969a5da8fde4c9655547a98bbe6b7.zip gcc-efa8eda3b85969a5da8fde4c9655547a98bbe6b7.tar.gz gcc-efa8eda3b85969a5da8fde4c9655547a98bbe6b7.tar.bz2 |
cp-tree.h (finish_cleanup_try_block): New function.
* cp-tree.h (finish_cleanup_try_block): New function.
* semantics.c (finish_cleanup_try_block): Add comment.
From-SVN: r29264
-rw-r--r-- | gcc/cp/cp-tree.h | 1 | ||||
-rw-r--r-- | gcc/cp/semantics.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 9be527e..79eae1a 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -3609,6 +3609,7 @@ extern void finish_handler_sequence PROTO((tree)); extern tree begin_function_try_block PROTO((void)); extern void finish_function_try_block PROTO((tree)); extern void finish_function_handler_sequence PROTO((tree)); +extern void finish_cleanup_try_block PROTO((tree)); extern tree begin_handler PROTO((void)); extern void start_handler_parms PROTO((tree, tree)); extern void finish_handler_parms PROTO((tree)); diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index d2f6969..cb89c8c 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -674,6 +674,9 @@ finish_try_block (try_block) expand_start_all_catch (); } +/* Finish the body of a cleanup try-block, which may be given by + TRY_BLOCK. */ + void finish_cleanup_try_block (try_block) tree try_block; |