cp-tree.h (do_poplevel): New prototype.

[gcc/cp/ChangeLog]
2004-09-08  Ziemowit Laski  <zlaski@apple.com>

        * cp-tree.h (do_poplevel): New prototype.
        * semantics.c (do_poplevel): Make externally visible.

From-SVN: r87215
This commit is contained in:
Ziemowit Laski 2004-09-09 00:48:27 +00:00 committed by Ziemowit Laski
parent f838cd9419
commit 1835f9efd2
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-09-08 Ziemowit Laski <zlaski@apple.com>
* cp-tree.h (do_poplevel): New prototype.
* semantics.c (do_poplevel): Make externally visible.
2004-09-08 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (tree_pair_s): Define a GC'd vector.

View File

@ -4089,6 +4089,7 @@ extern void pop_to_parent_deferring_access_checks (void);
extern void perform_deferred_access_checks (void);
extern void perform_or_defer_access_check (tree, tree);
extern void init_cp_semantics (void);
extern tree do_poplevel (tree);
extern void add_decl_expr (tree);
extern tree finish_expr_stmt (tree);
extern tree begin_if_stmt (void);

View File

@ -384,7 +384,7 @@ anon_aggr_type_p (tree node)
/* Finish a scope. */
static tree
tree
do_poplevel (tree stmt_list)
{
tree block = NULL;