diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-01-05 13:50:40 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2020-01-05 13:50:40 +0100 |
commit | 39bec8cd35fa035aa10ddb123eb8a5715d323457 (patch) | |
tree | 2c53f7c315490272f70e8cfdffd5f28d5743572b /gcc/cppdefault.h | |
parent | 5205a4456b555b5b123ee3ec759e5c74dbd01057 (diff) | |
download | gcc-39bec8cd35fa035aa10ddb123eb8a5715d323457.zip gcc-39bec8cd35fa035aa10ddb123eb8a5715d323457.tar.gz gcc-39bec8cd35fa035aa10ddb123eb8a5715d323457.tar.bz2 |
re PR c++/93138 (elaborated type specifier visibility check problem)
PR c++/93138
* parser.c (cp_parser_check_class_key): Disable access checks for the
simple name lookup.
(cp_parser_maybe_warn_enum_key): Likewise. Return early if
!warn_redundant_tags.
* g++.dg/warn/Wredundant-tags-2.C: New test.
From-SVN: r279886
Diffstat (limited to 'gcc/cppdefault.h')
0 files changed, 0 insertions, 0 deletions