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

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 8 07:36:41 PDT 2026


================
@@ -1550,6 +1560,11 @@ class CodeGenFunction : public CodeGenTypeCache {
   /// decls.
   DeclMapTy LocalDeclMap;
 
+  /// Name-based lookup map for privatized BindingDecls.
+  /// Used when BindingDecls are remapped during OpenMP outlining, since the
+  /// remapped BindingDecl has a different pointer than the original.
+  llvm::StringMap<std::optional<Address>> OMPPrivatizedBindingsByName;
----------------
zahiraam wrote:

Removed.

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


More information about the cfe-commits mailing list