diff options
author | Jason Merrill <jason@redhat.com> | 2011-06-17 16:07:33 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-06-17 16:07:33 -0400 |
commit | 2cd8d506c4c4ffac3b47e2fe55c94de35e8de0f7 (patch) | |
tree | 5d60077226512cf8659a27ef9cda29a5d9916300 | |
parent | 2b8dfc0700967a393af044b0ca41a2b8f4f615e3 (diff) | |
download | gcc-2cd8d506c4c4ffac3b47e2fe55c94de35e8de0f7.zip gcc-2cd8d506c4c4ffac3b47e2fe55c94de35e8de0f7.tar.gz gcc-2cd8d506c4c4ffac3b47e2fe55c94de35e8de0f7.tar.bz2 |
cp-tree.h (struct tree_lambda_expr): Change common to typed.
* cp-tree.h (struct tree_lambda_expr): Change common to typed.
Move non-pointers to end of struct.
From-SVN: r175155
-rw-r--r-- | gcc/cp/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 81b332d..e90d12d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,8 @@ 2011-06-17 Jason Merrill <jason@redhat.com> + * cp-tree.h (struct tree_lambda_expr): Change common to typed. + Move non-pointers to end of struct. + * pt.c (tsubst_decl): Handle DECL_VALUE_EXPR on reference. * decl.c (check_initializer): Handle DECL_VALUE_EXPR_P. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index ff8b2dc..ee303fe 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -662,13 +662,13 @@ enum cp_lambda_default_capture_mode_type { struct GTY (()) tree_lambda_expr { - struct tree_common common; - location_t locus; - enum cp_lambda_default_capture_mode_type default_capture_mode; + struct tree_typed typed; tree capture_list; tree this_capture; tree return_type; tree extra_scope; + location_t locus; + enum cp_lambda_default_capture_mode_type default_capture_mode; int discriminator; }; |