diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-05-05 19:41:11 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-05-05 19:41:11 +0000 |
commit | 21c0a521e4c1059b59ec2f15fad7469134126d7c (patch) | |
tree | 3c03b0fd133a40ad4cd1831ee497ff3193b7a8e9 /gcc/cp/parser.c | |
parent | 0674c9de9d16a62fd3bb17c10c65adf7899043d6 (diff) | |
download | gcc-21c0a521e4c1059b59ec2f15fad7469134126d7c.zip gcc-21c0a521e4c1059b59ec2f15fad7469134126d7c.tar.gz gcc-21c0a521e4c1059b59ec2f15fad7469134126d7c.tar.bz2 |
Fix indentation issues seen by -Wmisleading-indentation
gcc/ChangeLog:
* auto-profile.c (afdo_find_equiv_class): Fix indentation so
that it reflects the block structure.
(afdo_propagate_edge): Likewise.
(afdo_calculate_branch_prob): Likewise.
(afdo_annotate_cfg): Likewise.
* cfgcleanup.c (equal_different_set_p): Likewise.
(try_crossjump_to_edge): Likewise.
* cgraph.c (cgraph_node::verify_node): Likewise.
* cgraphunit.c (expand_all_functions): Likewise.
* config/i386/i386.c (ix86_expand_copysign): Likewise.
(exact_dependency_1): Likewise.
* dwarf2asm.c (dw2_output_indirect_constants): Likewise.
* dwarf2out.c (tree_add_const_value_attribute_for_decl): Likewise.
* gensupport.c (process_define_subst): Likewise.
* lto-wrapper.c (merge_and_complain): Likewise.
* tree-if-conv.c (if_convertible_bb_p): Likewise.
* tree-ssa-loop-prefetch.c (find_or_create_group): Likewise.
* tree-ssa-tail-merge.c (gsi_advance_fw_nondebug_nonlocal): Likewise.
* tree-vect-data-refs.c (vect_grouped_load_supported): Likewise.
* tree-vect-loop.c (vectorizable_reduction): Likewise.
* tree-vect-slp.c (vect_transform_slp_perm_load): Likewise.
* tree-vect-stmts.c (vectorizable_shift): Likewise.
* tree-vrp.c (vrp_finalize): Likewise.
* tree.c (variably_modified_type_p): Likewise.
gcc/cp/ChangeLog:
* parser.c (cp_parser_asm_definition): Only test for
error_mark_node if "outputs" was just set.
(cp_parser_asm_definition): Likewise for "inputs".
gcc/fortran/ChangeLog:
* expr.c (check_inquiry): Fix indentation so that it reflects the
block structure.
* interface.c (compare_parameter): Likewise.
* parse.c (parse_oacc_structured_block): Likewise.
* target-memory.c (expr_to_char): Likewise.
* trans-types.c (gfc_init_kinds): Likewise.
libcpp/ChangeLog:
* pch.c (cpp_valid_state): Fix indentation so that it reflects the
block structure.
From-SVN: r222823
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index cfb512b..30a3fab 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -16747,10 +16747,11 @@ cp_parser_asm_definition (cp_parser* parser) && cp_lexer_next_token_is_not (parser->lexer, CPP_CLOSE_PAREN) && !goto_p) - outputs = cp_parser_asm_operand_list (parser); - - if (outputs == error_mark_node) - invalid_outputs_p = true; + { + outputs = cp_parser_asm_operand_list (parser); + if (outputs == error_mark_node) + invalid_outputs_p = true; + } } /* If the next token is `::', there are no outputs, and the next token is the beginning of the inputs. */ @@ -16771,10 +16772,11 @@ cp_parser_asm_definition (cp_parser* parser) CPP_SCOPE) && cp_lexer_next_token_is_not (parser->lexer, CPP_CLOSE_PAREN)) - inputs = cp_parser_asm_operand_list (parser); - - if (inputs == error_mark_node) - invalid_inputs_p = true; + { + inputs = cp_parser_asm_operand_list (parser); + if (inputs == error_mark_node) + invalid_inputs_p = true; + } } else if (cp_lexer_next_token_is (parser->lexer, CPP_SCOPE)) /* The clobbers are coming next. */ |