aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2005-06-07 11:56:11 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-06-07 11:56:11 +0000
commit01ea1ea8269ff36065e625b0b5e348568519bfa3 (patch)
tree9ba436b1b1c7d37ecfccbe0bd6d3fbbc96b13e04 /gcc/cp/cp-tree.h
parentc938250d71aa69cb46490ac49058fc1a499962e4 (diff)
downloadgcc-01ea1ea8269ff36065e625b0b5e348568519bfa3.zip
gcc-01ea1ea8269ff36065e625b0b5e348568519bfa3.tar.gz
gcc-01ea1ea8269ff36065e625b0b5e348568519bfa3.tar.bz2
cp-tree.def (DEFAULT_ARG): Adjust documentation.
* cp-tree.def (DEFAULT_ARG): Adjust documentation. * cp-tree.h (DEFARG_INSTANTIATIONS): New. (struct tree_default_arg): Add instantiations member. * parser.c (cp_parser_late_parsing_default_args): Adjust to use a VEC. * pt.c (tsubst_arg_types): Likewise. From-SVN: r100707
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 6cf7fa0..90de20c 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -424,11 +424,14 @@ typedef enum cp_id_kind
#define DEFARG_TOKENS(NODE) \
(((struct tree_default_arg *)DEFAULT_ARG_CHECK (NODE))->tokens)
+#define DEFARG_INSTANTIATIONS(NODE) \
+ (((struct tree_default_arg *)DEFAULT_ARG_CHECK (NODE))->instantiations)
struct tree_default_arg GTY (())
{
struct tree_common common;
struct cp_token_cache *tokens;
+ VEC(tree,gc) *instantiations;
};
enum cp_tree_node_structure_enum {