* error.c (dump_decl): Support named return values.

From-SVN: r31067
This commit is contained in:
Alexandre Oliva 1999-12-22 08:52:49 +00:00 committed by Alexandre Oliva
parent 0e455fc3f9
commit f6a898ba9e
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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)