mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 02:34:45 +08:00
error.c (dump_decl): Be a bit more explicit with template type arguments, when verbose.
* error.c (dump_decl): Be a bit more explicit with template type arguments, when verbose. From-SVN: r18858
This commit is contained in:
parent
fae4153b40
commit
a9936d39ea
@ -1,3 +1,8 @@
|
||||
Fri Mar 27 20:23:18 1998 Mark Mitchell <mmitchell@usa.net>
|
||||
|
||||
* error.c (dump_decl): Be a bit more explicit with template
|
||||
type arguments, when verbose.
|
||||
|
||||
Fri Mar 27 18:16:40 1998 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* inc/exception: Reorder closing braces.
|
||||
|
@ -655,6 +655,10 @@ dump_decl (t, v)
|
||||
/* Don't say 'typedef class A' */
|
||||
if (DECL_ARTIFICIAL (t))
|
||||
{
|
||||
if (v > 0 && TREE_CODE (TREE_TYPE (t)) == TEMPLATE_TYPE_PARM)
|
||||
/* Say `class T' not just `T'. */
|
||||
OB_PUTS ("class ");
|
||||
|
||||
dump_type (TREE_TYPE (t), v);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user