OSDN Git Service

* semantics.c (finish_non_static_data_member): Call maybe_dummy_object
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2010 21:30:56 +0000 (21:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2010 21:30:56 +0000 (21:30 +0000)
commit70269a57a8e4b7428eff50077451d4a9648afe70
treee5e70558c7dcf231c0f88d65e426b8666c123822
parentf765949633861a91dbe3356ad50c8a649effc856
* semantics.c (finish_non_static_data_member): Call maybe_dummy_object
whenever object is NULL_TREE.  Don't do 'this' capture here.
(finish_qualified_id_expr): Pass NULL_TREE.
(finish_id_expression): Likewise.
(lambda_expr_this_capture): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158809 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/scoped5.C
gcc/testsuite/g++.dg/lookup/scoped8.C
gcc/testsuite/g++.dg/template/dependent-expr5.C
gcc/testsuite/g++.old-deja/g++.brendan/nest1.C