Commit ee38ecd4 by Paolo Carlini Committed by Paolo Carlini

re PR c++/50828 (class template parameter not printed for member function…

re PR c++/50828 (class template parameter not printed for member function template in candidate list)

2012-09-24  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/50828
	* error.c (dump_function_decl): Strip TFF_TEMPLATE_NAME from flags
	at the outset.

From-SVN: r191673
parent 3ad50c8e
2012-09-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50828
* error.c (dump_function_decl): Strip TFF_TEMPLATE_NAME from flags
at the outset.
2012-09-24 Jason Merrill <jason@redhat.com>
* decl.c (get_atexit_node): Remove dead code.
......
......@@ -1348,7 +1348,7 @@ dump_function_decl (tree t, int flags)
return;
}
flags &= ~TFF_UNQUALIFIED_NAME;
flags &= ~(TFF_UNQUALIFIED_NAME | TFF_TEMPLATE_NAME);
if (TREE_CODE (t) == TEMPLATE_DECL)
t = DECL_TEMPLATE_RESULT (t);
......
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