[flang-commits] [flang] [Flang][OpenMP] Enables parsing of threadset clause (PR #169856)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Fri Nov 28 06:40:18 PST 2025


================
@@ -1199,6 +1168,10 @@ TYPE_PARSER(construct<OmpTaskReductionClause>(
 
 TYPE_PARSER(construct<OmpTransparentClause>(scalarIntExpr))
 
+TYPE_PARSER(construct<OmpThreadsetClause>(
+    "omp_pool" >> pure(OmpThreadsetClause::ThreadsetPolicy::Omp_Pool) ||
+    "omp_team" >> pure(OmpThreadsetClause::ThreadsetPolicy::Omp_Team)))
----------------
kparzysz wrote:

The convention is to spell the source names in all capitals, e.g. OMP_POOL.

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


More information about the flang-commits mailing list