From efa8eda3b85969a5da8fde4c9655547a98bbe6b7 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Fri, 10 Sep 1999 09:30:57 +0000 Subject: [PATCH] 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 --- gcc/cp/cp-tree.h | 1 + gcc/cp/semantics.c | 3 +++ 2 files changed, 4 insertions(+) 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; -- 2.7.4