[clang] [Clang][OpenMP] Add parsing for dims modifier in num_teams and thread_limit (PR #206412)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 06:30:34 PDT 2026


================
@@ -12803,6 +12805,12 @@ def err_omp_num_teams_lower_bound_larger
     : Error<"lower bound is greater than upper bound in 'num_teams' clause">;
 def err_omp_modifier_requires_version : Error<
   "'%0' modifier in '%1' clause requires OpenMP %2 or later">;
+def err_omp_unexpected_num_exprs
+    : Error<"unexpected number of expressions in '%0' clause">;
+def err_omp_max_supported_dims
+    : Error<"at most three dimensions are supported in '%0' clause">;
----------------
alexey-bataev wrote:

Unused

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


More information about the cfe-commits mailing list