[clang] [Clang] [C++26] Expansion Statements (Part 1: AST) (PR #169680)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 15:51:55 PDT 2026


================
@@ -190,11 +192,6 @@ UnsignedOrNone clang::getStackIndexOfNearestEnclosingCaptureCapableLambda(
     return NoLambdaIsCaptureCapable;
 
   const unsigned IndexOfCaptureReadyLambda = *OptionalStackIndex;
-  assert(((IndexOfCaptureReadyLambda != (FunctionScopes.size() - 1)) ||
----------------
shafik wrote:

Why this change?

https://github.com/llvm/llvm-project/pull/169680


More information about the cfe-commits mailing list