diff options
| author | Younan Zhang <zyn7109@gmail.com> | 2024-07-07 09:46:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-07 09:46:38 +0800 |
| commit | f4c781174b4b8fd958d9074c25eb06b6e276cb1c (patch) | |
| tree | a378ec285a0d2a811fe3ab651167da278a9efeca /llvm/lib/Object/COFFModuleDefinition.cpp | |
| parent | 1acb08660a7a2cd3f0f2e8f4fbfe34c830484480 (diff) | |
| download | llvm-f4c781174b4b8fd958d9074c25eb06b6e276cb1c.zip llvm-f4c781174b4b8fd958d9074c25eb06b6e276cb1c.tar.gz llvm-f4c781174b4b8fd958d9074c25eb06b6e276cb1c.tar.bz2 | |
[Clang] Add captures to the instantiation scope for noexcept specifiers (#97166)
The noexcept specifiers of dependent lambdas would be transformed and
rebuilt, where the map of instantiation should also contain captured
variables in case they are used from the noexcept specifier.
I also uncovered another assertion failure while at it. However, I
decided to leave it as-is because 1) that doesn't appear to be the case
in the release version and 2) fixing that might lead to ABI breakage.
Anyhow, the case has been added to the test comment.
Fixes https://github.com/llvm/llvm-project/issues/95735
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions
