aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2010-05-28 00:03:19 +0000
committerDodji Seketeli <dodji@gcc.gnu.org>2010-05-28 02:03:19 +0200
commitec4be2f46d4d30d77d8bff19c947073d7e865928 (patch)
tree2007fe5e79ce827d21fa16b507e36304ce7c8d33 /gcc/tree.h
parent3fe7b63c521d8a12dba549aef8fb6b724aff635b (diff)
downloadgcc-ec4be2f46d4d30d77d8bff19c947073d7e865928.zip
gcc-ec4be2f46d4d30d77d8bff19c947073d7e865928.tar.gz
gcc-ec4be2f46d4d30d77d8bff19c947073d7e865928.tar.bz2
Revert "Fix PR c++/44188"
gcc/ChangeLog: revert fix for PR c++/44188 * c-common.c (is_typedef_decl): Revert the moving of this definition ... * tree.c (is_typedef_decl): ... here. (typdef_variant_p): Revert the moving of this definition here from gcc/cp/tree.c. * c-common.h (is_typedef_decl): Revert the moving of this declaration ... * tree.h (is_typedef_decl): ... here. (typedef_variant_p): Revert the moving of this declaration here from gcc/cp/cp-tree.h * dwarf2out.c (is_naming_typedef_decl): Revert this new function. (gen_tagged_type_die): Revert the splitting out of ... (gen_type_die_with_usage): ... this function. Revert the anonymous tagged type handling. (gen_typedef_die): Revert emitting DW_TAG_typedef for typedefs naming anonymous tagged types. gcc/cp/ChangeLog: Revert fix of PR c++/44188 * cp-tree.h (typedef_variant_p): Revert moving this declaration to gcc/tree.h. * tree.c (typedef_variant_p): Revert moving this definition to gcc/tree.c. * decl.c (grokdeclarator): Revert naming typedef handling. gcc/testsuite/ChangeLog: Revert fix for PR c++/44188 * g++.dg/debug/dwarf2/typedef3.C: Revert new test. From-SVN: r159955
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 94379fe..5acadb4 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4820,8 +4820,6 @@ extern tree create_artificial_label (location_t);
extern const char *get_name (tree);
extern bool stdarg_p (tree);
extern bool prototype_p (tree);
-extern bool is_typedef_decl (tree x);
-extern bool typedef_variant_p (tree);
extern bool auto_var_in_fn_p (const_tree, const_tree);
extern tree build_low_bits_mask (tree, unsigned);
extern tree tree_strip_nop_conversions (tree);