aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2024-07-12 09:51:46 +0800
committerGitHub <noreply@github.com>2024-07-12 09:51:46 +0800
commitf52a4679e683807d699e105a6139a5a91401667f (patch)
tree05ff256768fe71d98a5193d07e6c3595e7169555 /clang/lib/CodeGen/CodeGenModule.h
parent6dd1f080e16e44cdda1ac72b24e563a3a274d094 (diff)
downloadllvm-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