[clang] [clang][constexpr] Fix assertion failure in C++26 constexpr structured binding pack evaluation (#170991) (PR #213534)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 25 04:51:42 PDT 2026
================
@@ -1711,6 +1715,7 @@ void Sema::CheckCompleteDecompositionDeclaration(DecompositionDecl *DD) {
// E or of the same unambiguous public base class of E, ...
if (checkMemberDecomposition(*this, Bindings, DD, DecompType, RD))
DD->setInvalidDecl();
+ CleanupVarDeclMarking();
}
----------------
babadany2999 wrote:
Hmmm... I'm not sure if this is what you meant. It only calls CleanupVarDeclMarking but it does change the code quite a bit.
https://github.com/llvm/llvm-project/pull/213534
More information about the cfe-commits
mailing list