Commit 74424c73 by Jason Merrill Committed by Jason Merrill

* pt.c (tsubst_copy_and_build): Use current_class_name.

From-SVN: r174102
parent 874aeeed
2011-05-23 Jason Merrill <jason@redhat.com>
* pt.c (tsubst_copy_and_build): Use current_class_name.
PR c++/49102
* call.c (convert_arg_to_ellipsis): Call force_rvalue.
......
......@@ -13017,8 +13017,7 @@ tsubst_copy_and_build (tree t,
else
inform (EXPR_LOC_OR_HERE (t),
"use %<%T::%D%> instead",
TYPE_IDENTIFIER (current_class_type),
function);
current_class_name, function);
}
else
inform (0, "%q+D declared here, later in the "
......
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