[all-commits] [llvm/llvm-project] f52a46: [Clang] Ensure the method scope at the late parsin...
Younan Zhang via All-commits
all-commits at lists.llvm.org
Thu Jul 11 18:52:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f52a4679e683807d699e105a6139a5a91401667f
https://github.com/llvm/llvm-project/commit/f52a4679e683807d699e105a6139a5a91401667f
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list