diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-01 14:01:39 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-01 14:01:39 +0000 |
commit | a233dea370eaecb07365c3047ace50a65603f85d (patch) | |
tree | a3ac89d597d4b0217d02828d183a010e6bea8ec0 /gcc/config | |
parent | 163b66433d20225864fb8de49d35490a707f031b (diff) | |
download | ppe42-gcc-a233dea370eaecb07365c3047ace50a65603f85d.tar.gz ppe42-gcc-a233dea370eaecb07365c3047ace50a65603f85d.zip |
cp:
Implement using decls inside template functions.
* decl2.c (validate_nonmember_using_decl): Don't special case
fake_std_node in the global namespace. Don't reject early when
processing a template.
(do_local_using_decl): Add to statement tree. Don't do further
processing when building a template.
* pt.c (tsubst_expr, DECL_STMT case): Deal with USING_DECLs.
testsuite:
* g++.old-deja/g++.pt/using1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
0 files changed, 0 insertions, 0 deletions