mirror of git://gcc.gnu.org/git/gcc.git
* parser.c (cp_parser_skip_to_end_of_statement): Add missing break.
From-SVN: r240809
This commit is contained in:
parent
f8b6a4889e
commit
3bd034d018
|
|
@ -1,5 +1,7 @@
|
||||||
2016-10-05 Jason Merrill <jason@redhat.com>
|
2016-10-05 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
|
* parser.c (cp_parser_skip_to_end_of_statement): Add missing break.
|
||||||
|
|
||||||
* semantics.c (finish_compound_literal): Handle class placeholder.
|
* semantics.c (finish_compound_literal): Handle class placeholder.
|
||||||
|
|
||||||
2016-10-05 Marek Polacek <polacek@redhat.com>
|
2016-10-05 Marek Polacek <polacek@redhat.com>
|
||||||
|
|
|
||||||
|
|
@ -2544,7 +2544,6 @@ add_builtin_candidate (struct z_candidate **candidates, enum tree_code code,
|
||||||
type2 = ptrdiff_type_node;
|
type2 = ptrdiff_type_node;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* XXX Really fallthru? */
|
|
||||||
/* FALLTHRU */
|
/* FALLTHRU */
|
||||||
case MULT_EXPR:
|
case MULT_EXPR:
|
||||||
case TRUNC_DIV_EXPR:
|
case TRUNC_DIV_EXPR:
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,6 @@ pp_cxx_unqualified_id (cxx_pretty_printer *pp, tree t)
|
||||||
|
|
||||||
case OVERLOAD:
|
case OVERLOAD:
|
||||||
t = OVL_CURRENT (t);
|
t = OVL_CURRENT (t);
|
||||||
/* XXX Really fallthru? */
|
|
||||||
/* FALLTHRU */
|
/* FALLTHRU */
|
||||||
case VAR_DECL:
|
case VAR_DECL:
|
||||||
case PARM_DECL:
|
case PARM_DECL:
|
||||||
|
|
|
||||||
|
|
@ -3495,8 +3495,7 @@ cp_parser_skip_to_end_of_statement (cp_parser* parser)
|
||||||
cp_lexer_consume_token (parser->lexer);
|
cp_lexer_consume_token (parser->lexer);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* XXX Really fallthru? */
|
break;
|
||||||
/* FALLTHRU */
|
|
||||||
|
|
||||||
case CPP_OPEN_BRACE:
|
case CPP_OPEN_BRACE:
|
||||||
++nesting_depth;
|
++nesting_depth;
|
||||||
|
|
@ -27932,7 +27931,6 @@ cp_parser_cache_defarg (cp_parser *parser, bool nsdmi)
|
||||||
parser->in_template_argument_list_p = saved_italp;
|
parser->in_template_argument_list_p = saved_italp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* XXX Really fallthru? */
|
|
||||||
/* FALLTHRU */
|
/* FALLTHRU */
|
||||||
case CPP_CLOSE_PAREN:
|
case CPP_CLOSE_PAREN:
|
||||||
case CPP_ELLIPSIS:
|
case CPP_ELLIPSIS:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue