diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-07-28 11:06:31 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-07-28 11:06:31 +0000 |
commit | 7a3397c739f388ca4fe8fd6a31ce3e25b0775a6e (patch) | |
tree | 2905486e57c07a0e41481caa221009f8bef001fa /gcc/cp/decl.c | |
parent | 8376cf3db9e7e822da905f72dab50c2eb2b7b4a4 (diff) | |
download | gcc-7a3397c739f388ca4fe8fd6a31ce3e25b0775a6e.zip gcc-7a3397c739f388ca4fe8fd6a31ce3e25b0775a6e.tar.gz gcc-7a3397c739f388ca4fe8fd6a31ce3e25b0775a6e.tar.bz2 |
cp-tree.h (begin_compound_stmt): No scope arg is a bool.
* cp-tree.h (begin_compound_stmt): No scope arg is a bool.
(finish_compound_stmt): Remove no scope arg.
* decl.c (register_dtor_fn): Adjust begin_compound_stmt and
end_compound_stmt calls.
(expand_static_init, begin_destructor_body, begin_function_body,
finish_function_body): Likewise.
* decl2.c (start_objects, finish_objects,
start_static_storage_duration_function,
finish_static_storage_duration_function): Likewise.
* init.c (begin_init_stmts, finish_init_stmts,
construct_virtual_base, build_vec_init): Likewise.
* method.c (do_build_assign_ref, synthesize_method): Likewise.
* parser.c (cp_parser_compound_statement,
cp_parser_implicitly_scoped_statement,
cp_parser_already_scoped_statement): Likewise.
* pt.c (tsubst_expr): Likewise.
* semantics.c (begin_compound_stmt): No scope arg is a bool.
(finish_compound_stmt): Remove no scope arg.
* error.c (dump_expr) <COMPOUND_EXPR case>: A compound expr is
always dyadic.
From-SVN: r69882
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 2b0f0c6..4e6da3f 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8475,9 +8475,9 @@ register_dtor_fn (tree decl) pop_deferring_access_checks (); /* Create the body of the anonymous function. */ - compound_stmt = begin_compound_stmt (/*has_no_scope=*/0); + compound_stmt = begin_compound_stmt (/*has_no_scope=*/false); finish_expr_stmt (fcall); - finish_compound_stmt (/*has_no_scope=*/0, compound_stmt); + finish_compound_stmt (compound_stmt); end_cleanup_fn (); /* Call atexit with the cleanup function. */ @@ -8562,7 +8562,7 @@ expand_static_init (tree decl, tree init) /* Begin the conditional initialization. */ if_stmt = begin_if_stmt (); finish_if_stmt_cond (get_guard_cond (guard), if_stmt); - then_clause = begin_compound_stmt (/*has_no_scope=*/0); + then_clause = begin_compound_stmt (/*has_no_scope=*/false); /* Do the initialization itself. */ assignment = init ? init : NULL_TREE; @@ -8586,7 +8586,7 @@ expand_static_init (tree decl, tree init) variable. */ register_dtor_fn (decl); - finish_compound_stmt (/*has_no_scope=*/0, then_clause); + finish_compound_stmt (then_clause); finish_then_clause (if_stmt); finish_if_stmt (); } @@ -13840,14 +13840,14 @@ begin_destructor_body (void) initialize the vtables.) */ finish_if_stmt_cond (boolean_true_node, if_stmt); - compound_stmt = begin_compound_stmt (/*has_no_scope=*/0); + compound_stmt = begin_compound_stmt (/*has_no_scope=*/false); /* Make all virtual function table pointers in non-virtual base classes point to CURRENT_CLASS_TYPE's virtual function tables. */ initialize_vtbl_ptrs (current_class_ptr); - finish_compound_stmt (/*has_no_scope=*/0, compound_stmt); + finish_compound_stmt (compound_stmt); finish_then_clause (if_stmt); finish_if_stmt (); @@ -13914,7 +13914,7 @@ begin_function_body (void) operation of dwarfout.c. */ keep_next_level (1); - stmt = begin_compound_stmt (0); + stmt = begin_compound_stmt (/*has_no_scope=*/false); COMPOUND_STMT_BODY_BLOCK (stmt) = 1; if (processing_template_decl) @@ -13940,7 +13940,7 @@ void finish_function_body (tree compstmt) { /* Close the block. */ - finish_compound_stmt (0, compstmt); + finish_compound_stmt (compstmt); if (processing_template_decl) /* Do nothing now. */; |