OSDN Git Service

* cp-tree.h (struct tree_lambda_expr): Change common to typed.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jun 2011 20:07:33 +0000 (20:07 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jun 2011 20:07:33 +0000 (20:07 +0000)
Move non-pointers to end of struct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175155 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 81b332d..e90d12d 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 ff8b2dc..ee303fe 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;
 };