diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-06 11:44:09 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-06 11:44:09 +0000 |
commit | 074ab442f459e8d6fa5cb8f36e98b20468f7a35a (patch) | |
tree | f6bc5402cc736afb252a23b78b57e4d60b438ef9 /gcc/cp/except.c | |
parent | 15b5961fab95969cd4a69942cabd54eb066c545f (diff) | |
download | gcc-074ab442f459e8d6fa5cb8f36e98b20468f7a35a.tar.gz |
Fix up whitespacing
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 42759104400..a02fc2f5533 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -444,7 +444,7 @@ expand_start_catch_block (tree decl) /* If the C++ object needs constructing, we need to do that before calling __cxa_begin_catch, so that std::uncaught_exception gets the right value during the copy constructor. */ - else if (flag_use_cxa_get_exception_ptr + else if (flag_use_cxa_get_exception_ptr && TYPE_NEEDS_CONSTRUCTING (TREE_TYPE (decl))) { exp = do_get_exception_ptr (); @@ -460,7 +460,7 @@ expand_start_catch_block (tree decl) tree init = do_begin_catch (); exp = create_temporary_var (ptr_type_node); DECL_REGISTER (exp) = 1; - cp_finish_decl (exp, init, /*init_const_expr=*/false, + cp_finish_decl (exp, init, /*init_const_expr=*/false, NULL_TREE, LOOKUP_ONLYCONVERTING); initialize_handler_parm (decl, exp); } @@ -664,9 +664,9 @@ build_throw (tree exp) fn = push_throw_library_fn (fn, tmp); } - /* [except.throw] - - A throw-expression initializes a temporary object, the type + /* [except.throw] + + A throw-expression initializes a temporary object, the type of which is determined by removing any top-level cv-qualifiers from the static type of the operand of throw and adjusting the type from "array of T" or "function return @@ -702,7 +702,7 @@ build_throw (tree exp) if (CLASS_TYPE_P (temp_type)) { /* Call the copy constructor. */ - exp = (build_special_member_call + exp = (build_special_member_call (object, complete_ctor_identifier, build_tree_list (NULL_TREE, exp), TREE_TYPE (object), @@ -714,7 +714,7 @@ build_throw (tree exp) } } else - exp = build2 (INIT_EXPR, temp_type, object, + exp = build2 (INIT_EXPR, temp_type, object, decay_conversion (exp)); /* Pre-evaluate the thrown expression first, since if we allocated |