[clang] [OpenMP] Support capturing structured bindings in OpenMP regions. (PR #190832)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 06:37:16 PDT 2026


================
@@ -1291,19 +1309,17 @@ void CodeGenFunction::EmitOMPPrivateClause(
     CodeGenFunction::OMPPrivateScope &PrivateScope) {
   if (!HaveInsertPoint())
     return;
-  llvm::DenseSet<const VarDecl *> EmittedAsPrivate;
+  llvm::DenseSet<const ValueDecl *> EmittedAsPrivate;
----------------
alexey-bataev wrote:

```suggestion
  llvm::SmallDenseSet<const ValueDecl *> EmittedAsPrivate;
```

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


More information about the cfe-commits mailing list