error.c (dump_template_bindings): Don't print typenames for a partial instantiation.
authorJason Merrill <jason@redhat.com>
Mon, 4 Jul 2011 21:43:57 +0000 (17:43 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 4 Jul 2011 21:43:57 +0000 (17:43 -0400)
commit21d69a5bb0e06bd8876242c99001ad3b9c7946b1
tree2e1a150f337c1b9c2f5eaeef5c7f057ee2c5235e
parent0d3128d6a4925e05f560f665adcbb90eb1427a81
error.c (dump_template_bindings): Don't print typenames for a partial instantiation.

* error.c (dump_template_bindings): Don't print typenames
for a partial instantiation.
(dump_function_decl): If we aren't printing function arguments,
print template arguments as <args> rather than [with ...].
(dump_expr): Don't print return type or template header.
[BASELINK]: Use BASELINK_FUNCTIONS rather than get_first_fn.
* pt.c (dependent_template_arg_p): Handle null arg.

From-SVN: r175834
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/diag1.C [new file with mode: 0644]