================
@@ -19380,6 +19380,20 @@ static bool isVariableCapturable(CapturingScopeInfo
*CSI, ValueDecl *Var,
}
if (isa<BindingDecl>(Var)) {
+ if (Var->getDeclName() && !Var->isImplicit()) {
----------------
alexey-bataev wrote:Why need this check? https://github.com/llvm/llvm-project/pull/190832 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
