aboutsummaryrefslogtreecommitdiff
path: root/ltoptions.m4
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2024-06-15 22:47:07 +1000
committerNathaniel Shead <nathanieloshead@gmail.com>2024-07-08 01:02:39 +1000
commit24cb586cafd40f8fbea68641f97e3431ea76c1b8 (patch)
treed1a93b85b4186ab6d3ea43d8d28a9bd1fc922008 /ltoptions.m4
parentd364c4ced8823bc41fda84f182e1d64e7870549e (diff)
downloadgcc-24cb586cafd40f8fbea68641f97e3431ea76c1b8.zip
gcc-24cb586cafd40f8fbea68641f97e3431ea76c1b8.tar.gz
gcc-24cb586cafd40f8fbea68641f97e3431ea76c1b8.tar.bz2
c++: Simplify uses of LAMBDA_EXPR_EXTRA_SCOPE
I noticed there already exists a getter to get the scope of a lambda from its type directly rather than needing to go via CLASSTYPE_LAMBDA_EXPR, we may as well use it. gcc/cp/ChangeLog: * module.cc (trees_out::get_merge_kind): Use LAMBDA_TYPE_EXTRA_SCOPE instead of LAMBDA_EXPR_EXTRA_SCOPE. (trees_out::key_mergeable): Likewise. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'ltoptions.m4')
0 files changed, 0 insertions, 0 deletions