pt.c
517 KB
-
re PR c++/9634 ([DR224] Injected class name as qualifier should not make the name dependent) · 1cb801bc
PR c++/9634 PR c++/29469 PR c++/29607 * decl.c (make_typename_type): Do look inside currently open classes. * parser.c (cp_parser_lookup_name): Likewise. (cp_parser_template_name): Likewise. * pt.c (dependent_scope_p): New function. * cp-tree.h: Declare it. * class.c (currently_open_class): Return fast if T isn't a class. Co-Authored-By: Giovanni Bajo <giovannibajo@gcc.gnu.org> From-SVN: r144618
Jason Merrill committed