[clang] [OpenMP] Support capturing structured bindings in OpenMP regions. (PR #190832)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Sat May 9 09:13:16 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list