cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.
* cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove. * class.c (finish_struct): Remove hackery to deal with explicit specializations in class scope. * decl.c (grokfndecl): Improve error-recovery. * decl2.c (grokfield): Likewise. * pt.c (check_specialization_scope): New function. (begin_specialization): Call it. (process_partial_specialization): New function, split out from push_template_decl. Check partial specializations more stringently. (push_template_decl): Call it. (check_explicit_specialization): Don't attempt to handle explicit specializations in class scope. (template_parm_data): Document. Add current_arg and arg_uses_template_parms. (mark_template_parm): Set it. (tsubst_arg_types): Remove unused variable. * semantics.c (begin_class_definition): Tweak. From-SVN: r22271
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.pt/spec20.C
0 → 100644
gcc/testsuite/g++.old-deja/g++.pt/spec21.C
0 → 100644
gcc/testsuite/g++.old-deja/g++.pt/spec22.C
0 → 100644
Please
register
or
sign in
to comment