[all-commits] [llvm/llvm-project] 754abc: [OpenMP] Add variable capture support for transpar...

Zahira Ammarguellat via All-commits all-commits at lists.llvm.org
Thu Mar 12 05:08:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 754abc19f05dab4cce698178b08ff2d6f29f65d0
      https://github.com/llvm/llvm-project/commit/754abc19f05dab4cce698178b08ff2d6f29f65d0
  Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
  Date:   2026-03-12 (Thu, 12 Mar 2026)

  Changed paths:
    M clang/include/clang/AST/OpenMPClause.h
    M clang/lib/AST/OpenMPClause.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/task_transparent_messages.cpp
    M clang/test/OpenMP/task_transparent_serialization.cpp
    M clang/test/OpenMP/taskloop_codegen.cpp

  Log Message:
  -----------
  [OpenMP] Add variable capture support for transparent clause expression. (#185419)

This patch extends the `transparent` clause implementation to properly
handle runtime variable expressions as the `impex-type` argument, as
required by the OpenMP specification:
`"The use of a variable in an impex-type expression causes an implicit
reference to the variable in all enclosing constructs. The impex-type
expression is evaluated in the context outside of the construct on which
the clause appears."`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list