diff options
author | Younan Zhang <zyn7109@gmail.com> | 2024-07-12 09:51:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 09:51:46 +0800 |
commit | f52a4679e683807d699e105a6139a5a91401667f (patch) | |
tree | 05ff256768fe71d98a5193d07e6c3595e7169555 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 6dd1f080e16e44cdda1ac72b24e563a3a274d094 (diff) | |
download | llvm-f52a4679e683807d699e105a6139a5a91401667f.zip llvm-f52a4679e683807d699e105a6139a5a91401667f.tar.gz llvm-f52a4679e683807d699e105a6139a5a91401667f.tar.bz2 |
[Clang] Ensure the method scope at the late parsing of noexcept specifiers (#98023)
Previously, we only pushed the function scope once we entered the
function definition, whereas tryCaptureVariable() requires at least one
function scope available when ParmVarDecls being captured have been
owned by a function. This led to problems parsing the noexcept
specifiers, as the DeclRefExprs inside them were improperly computed.
Fixes https://github.com/llvm/llvm-project/issues/97453
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions