cp-tree.def (LOOKUP_EXPR): Document.
authorMark Mitchell <mark@markmitchell.com>
Sun, 2 Aug 1998 21:37:23 +0000 (21:37 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 2 Aug 1998 21:37:23 +0000 (21:37 +0000)
commit672476cbdf1406a9c5435d2d3ba537529036290f
treed2a17ab43d62c027bfce4d7a370eff0f9fdc5a22
parent151ab2f29e19a6194329b37c8e9c379b5f0697b8
cp-tree.def (LOOKUP_EXPR): Document.

* 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.

From-SVN: r21544
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]