1 2017-01-05 Jakub Jelinek <jakub@redhat.com>
4 * decl.c (cp_finish_decomp): Remove probe variable, if tt is
5 REFERENCE_REF_P, set tt to its operand.
8 * class.c (check_field_decls): Diagnose REFERENCE_TYPE fields in
9 unions even for C++11 and later.
11 2017-01-05 Nathan Sidwell <nathan@acm.org>
14 * pt.c (convert_nontype_argument): Don't try and see if integral
15 or enum expressions are constants prematurely.
17 2017-01-04 Marek Polacek <polacek@redhat.com>
20 * typeck.c (cp_build_binary_op): Warn when a pointer is compared with
21 a zero character literal.
23 2017-01-04 Jakub Jelinek <jakub@redhat.com>
26 * typeck.c (cp_build_unary_op): Call mark_rvalue_use on arg if it has
30 * parser.c (cp_parser_simple_declaration): Only complain about
31 inconsistent auto deduction if auto_result doesn't use auto.
33 * parser.c (cp_parser_simple_declaration): Diagnose function
34 declaration among more than one init-declarators with auto
38 * parser.c (cp_lexer_previous_token): Use vec_safe_address in the
39 assertion, as lexer->buffer may be NULL.
41 2017-01-04 Marek Polacek <polacek@redhat.com>
45 * constexpr.c (potential_constant_expression_1): Handle CLEANUP_STMT.
47 2017-01-04 Nathan Sidwell <nathan@acm.org>
50 * cp-tree.h (DECLTYPE_FOR_REF_CAPTURE): New.
51 (lambda_capture_field_type): Update prototype.
52 * lambda.c (lambda_capture_field_type): Add is_reference parm.
53 Add referenceness here.
54 (add_capture): Adjust lambda_capture_field_type call, refactor
56 * pt.c (tsubst): Adjust lambda_capture_field_type call.
58 2017-01-01 Jakub Jelinek <jakub@redhat.com>
60 Update copyright years.
62 Copyright (C) 2017 Free Software Foundation, Inc.
64 Copying and distribution of this file, with or without modification,
65 are permitted in any medium without royalty provided the copyright
66 notice and this notice are preserved.