pt.c (tsubst_expr): Instantiate local class.
authorJason Merrill <jason@redhat.com>
Tue, 12 Jun 2012 18:32:13 +0000 (14:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 12 Jun 2012 18:32:13 +0000 (14:32 -0400)
commit637f68e8d28582ef5112ed6c3b4c2c2399d9799f
tree02046b2845928e6fc1099d3bc8dab7826a4378df
parentfdaf2f48c02dcb5dcf9bbca130b2de56fc947f75
pt.c (tsubst_expr): Instantiate local class.

* pt.c (tsubst_expr) [TAG_DEFN]: Instantiate local class.
* class.c (finish_struct): Don't add a TAG_DEFN for a lambda.
* decl2.c (finish_static_data_member_decl): Avoid redundant error.

From-SVN: r188474
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl2.c
gcc/cp/pt.c