OSDN Git Service

* cp-tree.def (LOOKUP_EXPR): Document. Remove second argument.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Aug 1998 21:37:23 +0000 (21:37 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Aug 1998 21:37:23 +0000 (21:37 +0000)
commit3addf1000fde0804b465bb83f799c299d386185d
treed2a17ab43d62c027bfce4d7a370eff0f9fdc5a22
parent858e062bc5b8066a11e6c60610369678b5ab4ecc
* cp-tree.def (LOOKUP_EXPR): Document.  Remove second argument.
* cp-tree.h (DECL_TI_TEMPLATE): Improve documentation.
* lex.c (do_identifier): Don't use a second argument, or a type,
when building LOOKUP_EXPRs.
(do_identifier): Likewise.
(do_scoped_id): Likewise.
* method.c (hack_identifier): Improve error message.
* pt.c (lookup_template_function): Don't needlessly call
copy_to_permanent or build_min.
(tsubst_copy): Remove #if 0'd code.  Tsubst into LOOKUP_EXPRs if
necessary.
(do_decl_instantiation): Improve error message.
* tree.c (mapcar, case LOOKUP_EXPR): Don't be sorry; make a copy.
(build_min): Copy the type to the permanent obstack, too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21544 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/lex.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/testsuite/g++.old-deja/g++.pt/conv2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/spec19.C [new file with mode: 0644]