Daily bump.
[gcc.git] / gcc / cp / ChangeLog
index 5148fa5f16e1a4e65ace574fc45eb96c71471ccd..d3d15b172c82380ba1e6247f76a86a212beab28b 100644 (file)
@@ -1,3 +1,28 @@
+2021-01-23  Anthony Sharp  <anthonysharp15@gmail.com>
+
+       * call.c (complain_about_access): Altered function.
+       * cp-tree.h (complain_about_access): Changed parameters of function.
+       (get_parent_with_private_access): Declared new function.
+       * search.c (get_parent_with_private_access): Defined new function.
+       * semantics.c (enforce_access): Modified function.
+       * typeck.c (complain_about_unrecognized_member): Updated function
+       arguments in complain_about_access.
+
+2021-01-23  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/97399
+       * cp-tree.h (shared_member_p): Adjust declaration.
+       * parser.c (cp_parser_init_declarator): If the storage class
+       specifier is sc_static, pass true for static_p to
+       cp_parser_declarator.
+       (cp_parser_direct_declarator): Don't do inject_this_parm when
+       the declarator is a friend.
+       * search.c (shared_member_p): Change return type to bool and
+       adjust function body accordingly.  Return false for a dependent
+       USING_DECL instead of aborting.
+       * semantics.c (finish_qualified_id_expr): Rely on shared_member_p
+       even when type-dependent.
+
 2021-01-22  Marek Polacek  <polacek@redhat.com>
 
        PR c++/96623