From: Mark Mitchell Date: Fri, 10 Sep 1999 09:30:57 +0000 (+0000) Subject: cp-tree.h (finish_cleanup_try_block): New function. X-Git-Tag: prereleases/libstdc++-2.92~10687 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=efa8eda3b85969a5da8fde4c9655547a98bbe6b7;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 9be527edb5a4..79eae1a6b7ab 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 d2f6969bc7b7..cb89c8c2fa89 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;