diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-15 09:51:24 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-15 09:51:24 +0000 |
commit | 9972f65e2c92c459d702a0b257018848f9740939 (patch) | |
tree | e0d46b266ec8217256cf1b264723ecf411125c5a /gcc/cp/pt.c | |
parent | 53bdb86c380f3f819d819ee928f00eb6bfad5d05 (diff) | |
download | gcc-9972f65e2c92c459d702a0b257018848f9740939.tar.gz |
* cp-tree.h (make_aggr_type): Declare.
* lex.c (cp_make_lang_type): Don't SET_IS_AGGR_TYPE.
(make_aggr_type): New.
* decl.c (build_typename_type, init_decl_processing): Use it.
(build_ptrmemfunc_type, xref_tag): Likewise.
* except.c (call_eh_info): Likewise.
* init.c (init_init_processing): Likewise.
* pt.c (process_template_parm, lookup_template_class): Likewise.
* rtti.c (expand_class_desc): Likewise.
* semantics.c (begin_class_definition, finish_typeof): Likewise.
* tree.c (copy_template_template_parm): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 522045685dd..48d0c7b022d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -1793,7 +1793,7 @@ process_template_parm (list, next) if (parm && TREE_CODE (parm) == TEMPLATE_DECL) { - t = make_lang_type (TEMPLATE_TEMPLATE_PARM); + t = make_aggr_type (TEMPLATE_TEMPLATE_PARM); /* This is for distinguishing between real templates and template template parameters */ TREE_TYPE (parm) = t; @@ -1802,7 +1802,7 @@ process_template_parm (list, next) } else { - t = make_lang_type (TEMPLATE_TYPE_PARM); + t = make_aggr_type (TEMPLATE_TYPE_PARM); /* parm is either IDENTIFIER_NODE or NULL_TREE */ decl = build_decl (TYPE_DECL, parm, t); } @@ -3904,7 +3904,7 @@ lookup_template_class (d1, arglist, in_decl, context, entering_scope) } else { - t = make_lang_type (TREE_CODE (template_type)); + t = make_aggr_type (TREE_CODE (template_type)); CLASSTYPE_DECLARED_CLASS (t) = CLASSTYPE_DECLARED_CLASS (template_type); CLASSTYPE_GOT_SEMICOLON (t) = 1; |