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