Commit f6a898ba by Alexandre Oliva Committed by Alexandre Oliva

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

From-SVN: r31067
parent 0e455fc3
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)
......
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