Skip to content
Unverified Commit 548d67a0 authored by Sheng's avatar Sheng Committed by GitHub
Browse files

[clang][Sema] Fix a bug when instantiating a lambda with requires clause (#65193)

Instantiating a lambda at a scope different from where it is defined
will paralyze clang if the trailing require clause refers to local
variables. This patch fixes this by re-adding the local variables to
`LocalInstantiationScope`.

Fixes #64462
parent 9370271e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment