cp-tree.h (lang_decl_flags): Add defined_in_class.
* cp-tree.h (lang_decl_flags): Add defined_in_class. Decrease size of dummy. (DECL_DEFINED_IN_CLASS_P): New macro. (TEMPLATE_PARMS_FOR_INLINE): Document. (check_static_variable_definition): New function. * decl.c (cp_finish_decl): Set DECL_DEFINED_IN_CLASS_P, if appropriate. (check_static_variable_definition): Split out from ... (grokdeclarator): Here. * pt.c (check_default_tmpl_args): New function, split out from ... (push_template_decl_real): Here. (instantiate_template): Fix comment. From-SVN: r23549
Showing
gcc/testsuite/g++.old-deja/g++.pt/defarg6.C
0 → 100644
gcc/testsuite/g++.old-deja/g++.pt/defarg7.C
0 → 100644
gcc/testsuite/g++.old-deja/g++.pt/static5.C
0 → 100644
Please
register
or
sign in
to comment