diff options
author | Sheng <ox59616e@gmail.com> | 2023-10-04 10:19:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 10:19:35 +0800 |
commit | 548d67a0393c7bd200e335ada0a3d684750c2697 (patch) | |
tree | 521035c594a956921a1127062dd46cd21b2fac67 /llvm/lib/Object/ObjectFile.cpp | |
parent | 9370271ec5debcb59e34629d5bd357c44213b2d3 (diff) | |
download | llvm-548d67a0393c7bd200e335ada0a3d684750c2697.zip llvm-548d67a0393c7bd200e335ada0a3d684750c2697.tar.gz llvm-548d67a0393c7bd200e335ada0a3d684750c2697.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions