cp-tree.h (struct tree_lambda_expr): Change common to typed.
authorJason Merrill <jason@redhat.com>
Fri, 17 Jun 2011 20:07:33 +0000 (16:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 17 Jun 2011 20:07:33 +0000 (16:07 -0400)
* cp-tree.h (struct tree_lambda_expr): Change common to typed.
Move non-pointers to end of struct.

From-SVN: r175155

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index 81b332de8479ad9da6cf8b292c91b71ca8ff3f5f..e90d12da42c180cc9e1e5e1b676f4fda1ebebba6 100644 (file)
@@ -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.
 
index ff8b2dc121ebe253c5b800b16f41f4a3ba673bb1..ee303fec88321160337cf78240c948acd9d49918 100644 (file)
@@ -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;
 };