* error.c (dump_decl): Support named return values.
From-SVN: r31067
This commit is contained in:
parent
0e455fc3f9
commit
f6a898ba9e
@ -1,3 +1,7 @@
|
||||
1999-12-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* error.c (dump_decl): Support named return values.
|
||||
|
||||
1999-12-20 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.
|
||||
|
@ -892,6 +892,11 @@ dump_decl (t, flags)
|
||||
dump_simple_decl (t, TREE_TYPE (t), flags);
|
||||
break;
|
||||
|
||||
case RESULT_DECL:
|
||||
OB_PUTS ("{return} ");
|
||||
dump_simple_decl (t, TREE_TYPE (t), flags);
|
||||
break;
|
||||
|
||||
case NAMESPACE_DECL:
|
||||
dump_scope (CP_DECL_CONTEXT (t), flags);
|
||||
if (DECL_NAME (t) == anonymous_namespace_name)
|
||||
|
Loading…
Reference in New Issue
Block a user