diff options
author | Nathaniel Shead <nathanieloshead@gmail.com> | 2024-06-15 22:47:07 +1000 |
---|---|---|
committer | Nathaniel Shead <nathanieloshead@gmail.com> | 2024-07-08 01:02:39 +1000 |
commit | 24cb586cafd40f8fbea68641f97e3431ea76c1b8 (patch) | |
tree | d1a93b85b4186ab6d3ea43d8d28a9bd1fc922008 /libsanitizer | |
parent | d364c4ced8823bc41fda84f182e1d64e7870549e (diff) | |
download | gcc-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 'libsanitizer')
0 files changed, 0 insertions, 0 deletions