[all-commits] [llvm/llvm-project] 548d67: [clang][Sema] Fix a bug when instantiating a lambd...
Sheng via All-commits
all-commits at lists.llvm.org
Tue Oct 3 19:19:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 548d67a0393c7bd200e335ada0a3d684750c2697
https://github.com/llvm/llvm-project/commit/548d67a0393c7bd200e335ada0a3d684750c2697
Author: Sheng <ox59616e at gmail.com>
Date: 2023-10-04 (Wed, 04 Oct 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaConcept.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/test/SemaCXX/pr64462.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list