1 2011-01-14 Jason Merrill <jason@redhat.com>
4 * typeck2.c (check_narrowing): Only check arithmetic types.
7 * tree.c (build_vec_init_expr): Handle flexible array
10 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
13 * cp-tree.h (CLASSTYPE_VISIBILITY): Use
14 TYPE_MAIN_DECL instead of TYPE_NAME.
15 (CLASSTYPE_VISIBILITY_SPECIFIED): Likewise.
16 * decl2.c (determine_visibility): Add check
17 of CLASS_TYPE_P for underlying_type.
19 2011-01-12 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
21 * cp-tree.h (begin_for_scope): New prototype.
22 (begin_for_stmt): Update prototype.
23 (begin_range_for_stmt): Update prototype.
24 * init.c (build_vec_init): Update call to begin_for_stmt.
25 * parser.c (cp_parser_for): New.
26 (cp_parser_c_for): Add three new parameters.
27 (cp_parser_range_for): Likewise. Most parsing code removed.
28 (cp_parser_iteration_statement): Call cp_parser_for instead of
29 cp_parser_c_for and cp_parser_range_for.
30 (cp_parser_for_init_statement): Add new parameter and return type.
31 (cp_parser_block_declaration): Update call to
32 cp_parser_simple_declaration.
33 (cp_parser_simple_declaration): Add new parameter.
34 Update call to cp_parser_init_declarator.
35 (cp_parser_init_declarator): Add new parameter.
36 * pt.c (tsubst_expr): Update call to begin_for_stmt.
37 * semantics.c (begin_for_scope): New.
38 (begin_for_stmt): Add two new parameters.
39 (begin_range_for_stmt): Likewise.
41 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
43 * parser.c (cp_parser_objc_at_property_declaration): Improved
46 2011-01-11 Dodji Seketeli <dodji@redhat.com>
49 * cp-lang.c (get_template_innermost_arguments_folded)
50 (get_template_argument_pack_elems_folded)
51 (template_arg_needs_folding, fold_cplus_constants): New static
53 (LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS): Set this hook to
54 get_template_innermost_arguments_folded.
55 (LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS): Set this hook to
56 get_template_argument_pack_elems_folded.
58 2011-01-11 Jason Merrill <jason@redhat.com>
61 * init.c (build_new_1): Handle value-init in templates differently.
64 * tree.c (maybe_dummy_object): Check current_class_ref against
65 context, not current_class_type.
67 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
70 * parser.c (cp_parser_objc_typename): If the type is unknown, for
71 error recovery purposes behave as if it was not specified so that
72 the default type is used.
74 2011-01-07 Jakub Jelinek <jakub@redhat.com>
77 * pt.c (tsubst_copy_and_build): Use tsubst instead of tsubst_copy
78 for the second build_x_va_arg argument.
80 2011-01-05 Tom Tromey <tromey@redhat.com>
82 * typeck.c (cp_build_addr_expr_1): Update call to lvalue_error.
83 (lvalue_or_else): Likewise.
85 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
88 * tree.c (cxx_type_hash_eq):
89 Allow METHOD_TYPE, too.
92 Copyright (C) 2011 Free Software Foundation, Inc.
94 Copying and distribution of this file, with or without modification,
95 are permitted in any medium without royalty provided the copyright
96 notice and this notice are preserved.