diff options
author | Patrick Palka <ppalka@redhat.com> | 2021-04-09 17:03:04 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2021-04-09 17:03:04 -0400 |
commit | b2576d75ed8900f77849ceacf7fe5f0f3abe734d (patch) | |
tree | b97d64dc9a547017ba5241a32e0b411176675ae1 /gcc/DATESTAMP | |
parent | cc796820466acb02989c72d42d96f06b4e5e020a (diff) | |
download | gcc-b2576d75ed8900f77849ceacf7fe5f0f3abe734d.zip gcc-b2576d75ed8900f77849ceacf7fe5f0f3abe734d.tar.gz gcc-b2576d75ed8900f77849ceacf7fe5f0f3abe734d.tar.bz2 |
c++: Use a TEMPLATE_INFO to hold regenerated-lambda info
A TEMPLATE_INFO is a natural fit for what LAMBDA_EXPR_REGENERATED_FROM
and LAMBDA_EXPR_REGENERATING_TARGS hold, so let's use it instead.
gcc/cp/ChangeLog:
* cp-tree.h (LAMBDA_EXPR_REGENERATED_FROM)
(LAMBDA_EXPR_REGENERATING_TARGS): Replace these with ...
(LAMBDA_EXPR_REGEN_INFO): ... this.
(tree_lambda_expr::regenerated_from)
(tree_lambda_expr::regenerating_targs): Replace these with ...
(tree_lambda_expr::regen_info): ... this.
* constraint.cc (satisfy_declaration_constraints): Adjust
accordingly.
* lambda.c (build_lambda_expr): Likewise.
* pt.c (regenerated_lambda_fn_p): Likewise.
(most_general_lambda): Likewise.
(tsubst_lambda_expr): Likewise.
Diffstat (limited to 'gcc/DATESTAMP')
0 files changed, 0 insertions, 0 deletions