[flang-commits] [clang] [flang] [llvm] [CLANG][OpenMP] Add support for OpenMP6.0 transparent clause (PR #166810)
Abhinav Gaba via flang-commits
flang-commits at lists.llvm.org
Wed Dec 3 14:43:52 PST 2025
================
@@ -17424,6 +17396,77 @@ OMPClause *SemaOpenMP::ActOnOpenMPThreadsetClause(OpenMPThreadsetKind Kind,
OMPThreadsetClause(Kind, KindLoc, StartLoc, LParenLoc, EndLoc);
}
+/// Tries to find omp_impex_t type.
+static bool findOMPImpexT(Sema &S, SourceLocation Loc, DSAStackTy *Stack) {
----------------
abhinavgaba wrote:
A similar util for the `allocator` argument for `uses_allocator` clause is called `getAllocatorKind`: https://github.com/llvm/llvm-project/blob/04c81a99735c04b2018eeb687e74f9860e1d0e1b/clang/lib/Sema/SemaOpenMP.cpp#L25140
Would it make sense to align with that convention, and return the kind from this instead of a bool?
https://github.com/llvm/llvm-project/pull/166810
More information about the flang-commits
mailing list