aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-01-24 00:16:16 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-01-24 00:16:16 +0000
commit6b1633378b74bed1d999a0ae2549088515a30ba0 (patch)
treec848c79e739e9c90fa61eb102c507f4287d2c5a8 /gcc/cp
parent81f928ec8e8abf1f21c5ff008c39b5d6af78f6cb (diff)
downloadgcc-6b1633378b74bed1d999a0ae2549088515a30ba0.zip
gcc-6b1633378b74bed1d999a0ae2549088515a30ba0.tar.gz
gcc-6b1633378b74bed1d999a0ae2549088515a30ba0.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog25
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5148fa5..d3d15b1 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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