Skip to content
Snippets Groups Projects
Commit 6d87092d authored by Jason Merrill's avatar Jason Merrill Committed by Jason Merrill
Browse files

re PR c++/35688 (template visibility not overridden by template arguments)

	PR c++/35688
	* decl2.c (constrain_visibility): Return void.  Add tmpl parm
	which gives the constraint priority over an attribute.
	(constrain_visibility_for_template, determine_visibility): Adjust.
	* pt.c (instantiate_class_template_1): Call determine_visibility.

From-SVN: r181102
parent c7e6757f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment