Commit 2cd8d506 by Jason Merrill Committed by Jason Merrill

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
parent 2b8dfc07
2011-06-17 Jason Merrill <jason@redhat.com> 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. * pt.c (tsubst_decl): Handle DECL_VALUE_EXPR on reference.
* decl.c (check_initializer): Handle DECL_VALUE_EXPR_P. * decl.c (check_initializer): Handle DECL_VALUE_EXPR_P.
......
...@@ -662,13 +662,13 @@ enum cp_lambda_default_capture_mode_type { ...@@ -662,13 +662,13 @@ enum cp_lambda_default_capture_mode_type {
struct GTY (()) tree_lambda_expr struct GTY (()) tree_lambda_expr
{ {
struct tree_common common; struct tree_typed typed;
location_t locus;
enum cp_lambda_default_capture_mode_type default_capture_mode;
tree capture_list; tree capture_list;
tree this_capture; tree this_capture;
tree return_type; tree return_type;
tree extra_scope; tree extra_scope;
location_t locus;
enum cp_lambda_default_capture_mode_type default_capture_mode;
int discriminator; int discriminator;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment