Skip to content
Snippets Groups Projects
Commit 24cb586c authored by Nathaniel Shead's avatar Nathaniel Shead
Browse files

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: default avatarNathaniel Shead <nathanieloshead@gmail.com>
parent d364c4ce
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment