diff options
author | Younan Zhang <zyn7109@gmail.com> | 2024-01-27 15:42:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 15:42:52 +0800 |
commit | 6e6c506f3caeafc25925b811b9cd205e2e213dd6 (patch) | |
tree | 64479e2c5f42b90c1020821cfe5565cf62ef123c /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | e8f882f83acf30d9b4da8846bd26314139660430 (diff) | |
download | llvm-6e6c506f3caeafc25925b811b9cd205e2e213dd6.zip llvm-6e6c506f3caeafc25925b811b9cd205e2e213dd6.tar.gz llvm-6e6c506f3caeafc25925b811b9cd205e2e213dd6.tar.bz2 |
[Concepts] Traverse the instantiation chain for parameter injection inside a constraint scope (#79568)
We preserve the trailing requires-expression during the lambda
expression transformation. In order to get those referenced parameters
inside a requires-expression properly resolved to the instantiated
decls, we intended to inject these 'original' `ParmVarDecls` to the
current instantiaion scope, at `Sema::SetupConstraintScope`.
The previous approach seems to overlook nested instantiation chains,
leading to the crash within a nested lambda followed by a requires
clause.
This fixes https://github.com/llvm/llvm-project/issues/73418.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions