1 2017-01-05 Jakub Jelinek <jakub@redhat.com>
4 * class.c (check_field_decls): Diagnose REFERENCE_TYPE fields in
5 unions even for C++11 and later.
7 2017-01-05 Nathan Sidwell <nathan@acm.org>
10 * pt.c (convert_nontype_argument): Don't try and see if integral
11 or enum expressions are constants prematurely.
13 2017-01-04 Marek Polacek <polacek@redhat.com>
16 * typeck.c (cp_build_binary_op): Warn when a pointer is compared with
17 a zero character literal.
19 2017-01-04 Jakub Jelinek <jakub@redhat.com>
22 * typeck.c (cp_build_unary_op): Call mark_rvalue_use on arg if it has
26 * parser.c (cp_parser_simple_declaration): Only complain about
27 inconsistent auto deduction if auto_result doesn't use auto.
29 * parser.c (cp_parser_simple_declaration): Diagnose function
30 declaration among more than one init-declarators with auto
34 * parser.c (cp_lexer_previous_token): Use vec_safe_address in the
35 assertion, as lexer->buffer may be NULL.
37 2017-01-04 Marek Polacek <polacek@redhat.com>
41 * constexpr.c (potential_constant_expression_1): Handle CLEANUP_STMT.
43 2017-01-04 Nathan Sidwell <nathan@acm.org>
46 * cp-tree.h (DECLTYPE_FOR_REF_CAPTURE): New.
47 (lambda_capture_field_type): Update prototype.
48 * lambda.c (lambda_capture_field_type): Add is_reference parm.
49 Add referenceness here.
50 (add_capture): Adjust lambda_capture_field_type call, refactor
52 * pt.c (tsubst): Adjust lambda_capture_field_type call.
54 2017-01-01 Jakub Jelinek <jakub@redhat.com>
56 Update copyright years.
58 Copyright (C) 2017 Free Software Foundation, Inc.
60 Copying and distribution of this file, with or without modification,
61 are permitted in any medium without royalty provided the copyright
62 notice and this notice are preserved.