aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-08-23 08:41:57 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-08-23 08:41:57 +0000
commit8dd16ecc7d71b9f1e1bdc4d870cf2436db9594a9 (patch)
tree21e04c3973bfdab79a845ae2282b15da19d7926c /gcc/tree.h
parente8bf0f3bacc5f3f4ae892f4df794cc23e41519b9 (diff)
downloadgcc-8dd16ecc7d71b9f1e1bdc4d870cf2436db9594a9.zip
gcc-8dd16ecc7d71b9f1e1bdc4d870cf2436db9594a9.tar.gz
gcc-8dd16ecc7d71b9f1e1bdc4d870cf2436db9594a9.tar.bz2
tree.h (build_distinct_type_copy): New.
* tree.h (build_distinct_type_copy): New. (build_type_copy): ... here. Rename to ... (build_variant_type_copy): ... here. * tree.c (build_qualified_type): Rename build_type_copy call. (build_distinct_type_copy): New, broken out of ... (build_type_copy): ... here. Rename to ... (build_variant_type_copy): ... here. Use build_distinct_type_copy. (build_common_tree_nodes_2): Rename build_type_copy call. * c-common.c (c_common_nodes_and_builtins): Rename build_type_copy call. (handle_packed_attribute, handle_unused_attribute, handle_transparanet_union_attribute, handle_aligned_attribute, handle_deprecated_attribute): Likewise. * c-decl.c (clone_underlying_type, store_parm_decls_oldstyle): Likewise. * config/arm/arm.c (arm_handle_isr_attribyte): Likewise. * config/rs6000/rs6000.c (rs6000_init_builtins): Use build_distinct_type_copy. * cp/name-lookup.c (pushdecl): Rename build_type_copy call. * cp/tree.c (cp_build_qualified_type_real, build_exception_variant, handle_java_interface_attribute): Likewise. From-SVN: r86421
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index c8f3c5e..6e381a6 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2961,7 +2961,8 @@ extern tree build_qualified_type (tree, int);
/* Make a copy of a type node. */
-extern tree build_type_copy (tree);
+extern tree build_distinct_type_copy (tree);
+extern tree build_variant_type_copy (tree);
/* Finish up a builtin RECORD_TYPE. Give it a name and provide its
fields. Optionally specify an alignment, and then lay it out. */