diff options
author | Momchil Velikov <momchil.velikov@gmail.com> | 2015-04-14 15:29:21 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-04-14 11:29:21 -0400 |
commit | 2fd16d0f9007f2e9a991b80c6ae2e4c5f85272b6 (patch) | |
tree | 9c81b516ff7b99da9d474e39696137390b743930 /gcc/expr.c | |
parent | b42e7064553ea0deb7081e6ee7cf2aa898f6de78 (diff) | |
download | gcc-2fd16d0f9007f2e9a991b80c6ae2e4c5f85272b6.zip gcc-2fd16d0f9007f2e9a991b80c6ae2e4c5f85272b6.tar.gz gcc-2fd16d0f9007f2e9a991b80c6ae2e4c5f85272b6.tar.bz2 |
re PR c++/60994 (gcc does not recognize hidden/shadowed enumeration as valid nested-name-specifier)
PR c++/60994
* parser.c (cp_parser_class_name): Add enum_ok parameter.
(cp_parser_qualifying_entity): Use it instead of cp_parser_type_name.
(cp_parser_diagnose_invalid_type_name): Don't assume a template is
a class template.
Co-Authored-By: Jason Merrill <jason@redhat.com>
From-SVN: r222094
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions