Commit dff3e828 by Benjamin Kosnik

decl.c (start_decl): Check for DECL_LANG_SPECIFIC before DECL_USE_TEMPLATE.

�
1998-05-26  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (start_decl): Check for DECL_LANG_SPECIFIC before
 	DECL_USE_TEMPLATE.
more QT++ fixes.

From-SVN: r20065
parent ef75df42
...@@ -6214,9 +6214,9 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes) ...@@ -6214,9 +6214,9 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
} }
/* cp_finish_decl sets DECL_EXTERNAL if DECL_IN_AGGR_P is set. */ /* cp_finish_decl sets DECL_EXTERNAL if DECL_IN_AGGR_P is set. */
if (DECL_LANG_SPECIFIC (decl)) DECL_IN_AGGR_P (decl) = 0;
DECL_IN_AGGR_P (decl) = 0; if ((DECL_LANG_SPECIFIC (decl) && DECL_USE_TEMPLATE (decl))
if (DECL_USE_TEMPLATE (decl) || CLASSTYPE_USE_TEMPLATE (context)) || CLASSTYPE_USE_TEMPLATE (context))
SET_DECL_TEMPLATE_SPECIALIZATION (decl); SET_DECL_TEMPLATE_SPECIALIZATION (decl);
/* Stupid stupid stupid stupid (jason 7/21/95) */ /* Stupid stupid stupid stupid (jason 7/21/95) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment