[flang-commits] [clang] [flang] [llvm] [CLANG][OpenMP] Add support for OpenMP6.0 transparent clause (PR #166810)

Alexey Bataev via flang-commits flang-commits at lists.llvm.org
Tue Dec 16 05:48:42 PST 2025


================
@@ -10659,7 +10674,8 @@ TreeTransform<Derived>::TransformOMPThreadsetClause(OMPThreadsetClause *C) {
 template <typename Derived>
 OMPClause *
 TreeTransform<Derived>::TransformOMPTransparentClause(OMPTransparentClause *C) {
-  return C;
+  return getDerived().RebuildOMPTransparentClause(
+      C->getImpexType(), C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc());
----------------
alexey-bataev wrote:

Add a test with the templates and instantiation

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


More information about the flang-commits mailing list