diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2009-02-18 16:03:05 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-02-18 16:03:05 -0500 |
commit | a669372a3a1c6ce2ff5474612bcf27811afbc65f (patch) | |
tree | 20dc5dd3e2fb5e8869a5c439f8d79be05bc7ee3c /gcc/cp/ptree.c | |
parent | 98b806924df9a7bb913cc5cc2d2e7fdc7e2a5de0 (diff) | |
download | gcc-a669372a3a1c6ce2ff5474612bcf27811afbc65f.zip gcc-a669372a3a1c6ce2ff5474612bcf27811afbc65f.tar.gz gcc-a669372a3a1c6ce2ff5474612bcf27811afbc65f.tar.bz2 |
revert accidental commit
From-SVN: r144271
Diffstat (limited to 'gcc/cp/ptree.c')
-rw-r--r-- | gcc/cp/ptree.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c index 2452abc..c91cb15 100644 --- a/gcc/cp/ptree.c +++ b/gcc/cp/ptree.c @@ -44,23 +44,7 @@ cxx_print_decl (FILE *file, tree node, int indent) if (!CODE_CONTAINS_STRUCT (TREE_CODE (node), TS_DECL_COMMON) || !DECL_LANG_SPECIFIC (node)) return; - if (TREE_CODE (node) == FUNCTION_DECL) - { - int flags = TFF_DECL_SPECIFIERS|TFF_RETURN_TYPE - |TFF_FUNCTION_DEFAULT_ARGUMENTS|TFF_EXCEPTION_SPECIFICATION ; - indent_to (file, indent + 3); - fprintf (file, " full-name \"%s\"", decl_as_string (node, flags)); - } - else if (TREE_CODE (node) == TEMPLATE_DECL) - { - indent_to (file, indent + 3); - fprintf (file, " full-name \"%s\"", - decl_as_string (node, TFF_TEMPLATE_HEADER)); - } - indent_to (file, indent + 3); - if (DECL_EXTERNAL (node) && DECL_NOT_REALLY_EXTERN (node)) - fprintf (file, " not-really-extern"); if (TREE_CODE (node) == FUNCTION_DECL && DECL_PENDING_INLINE_INFO (node)) fprintf (file, " pending-inline-info %p", @@ -97,9 +81,6 @@ cxx_print_type (FILE *file, tree node, int indent) case RECORD_TYPE: case UNION_TYPE: - indent_to (file, indent + 4); - fprintf (file, "full-name \"%s\"", - type_as_string (node, TFF_CLASS_KEY_OR_ENUM)); break; default: @@ -116,7 +97,7 @@ cxx_print_type (FILE *file, tree node, int indent) indent_to (file, indent + 3); if (TYPE_NEEDS_CONSTRUCTING (node)) - fputs ( " needs-constructor", file); + fputs ( "needs-constructor", file); if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (node)) fputs (" needs-destructor", file); if (TYPE_HAS_DEFAULT_CONSTRUCTOR (node)) |