[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
================
@@ -1150,12 +1136,12 @@ bool CodeGenFunction::EmitOMPFirstprivateClause(const OMPExecutableDirective &D,
bool DeviceConstTarget = getLangOpts().OpenMPIsTargetDevice &&
isOpenMPTargetExecutionDirective(EKind);
bool FirstprivateIsLastprivate = false;
- llvm::DenseMap<const VarDecl *, OpenMPLastprivateModifier> Lastprivates;
+ llvm::DenseMap<const Decl *, OpenMPLastprivateModifier> Lastprivates;
----------------
alexey-bataev wrote:
```suggestion
llvm::SmallDenseMap<const Decl *, OpenMPLastprivateModifier> Lastprivates;
```
https://github.com/llvm/llvm-project/pull/190832
More information about the cfe-commits
mailing list