aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-04-21 08:58:39 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-04-21 08:58:39 +0000
commitad32f0675e6596552ec670ef4afc71f0803be2fa (patch)
tree1685c097faa80ff182dbc65cdb58d72fd5b911a1 /gcc/tree.h
parent666f7903e0334ef65669277383e4028a4fe9ef0c (diff)
downloadgcc-ad32f0675e6596552ec670ef4afc71f0803be2fa.zip
gcc-ad32f0675e6596552ec670ef4afc71f0803be2fa.tar.gz
gcc-ad32f0675e6596552ec670ef4afc71f0803be2fa.tar.bz2
tree.h (build_qualified_type): Annotate with CXX_MEM_STAT_INFO.
2017-04-21 Richard Biener <rguenther@suse.de> * tree.h (build_qualified_type): Annotate with CXX_MEM_STAT_INFO. (build_distinct_type_copy): Likewise. (build_variant_type_copy): Likewise. * tree.c (build_qualified_type): Pass down mem-stat info. (build_distinct_type_copy): Likewise. (build_variant_type_copy): Likewise. cp/ * cp-tree.h (copy_decl): Annotate with CXX_MEM_STAT_INFO. (copy_type): Likewise. * lex.c (copy_decl): Pass down mem-stat info. (copy_type): Likewise. From-SVN: r247053
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index b136f5c..599d34f 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4265,7 +4265,7 @@ extern tree get_qualified_type (tree, int);
/* Like get_qualified_type, but creates the type if it does not
exist. This function never returns NULL_TREE. */
-extern tree build_qualified_type (tree, int);
+extern tree build_qualified_type (tree, int CXX_MEM_STAT_INFO);
/* Create a variant of type T with alignment ALIGN. */
@@ -4283,8 +4283,8 @@ extern tree build_aligned_type (tree, unsigned int);
/* Make a copy of a type node. */
-extern tree build_distinct_type_copy (tree);
-extern tree build_variant_type_copy (tree);
+extern tree build_distinct_type_copy (tree CXX_MEM_STAT_INFO);
+extern tree build_variant_type_copy (tree CXX_MEM_STAT_INFO);
/* Given a hashcode and a ..._TYPE node (for which the hashcode was made),
return a canonicalized ..._TYPE node, so that duplicates are not made.