[clang] [Clang][Sema][OpenMP] Allow `num_teams` to accept multiple expressions (PR #99732)
Johannes Doerfert via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 4 09:55:49 PDT 2024
================
@@ -11639,6 +11639,7 @@ def warn_omp_unterminated_declare_target : Warning<
InGroup<SourceUsesOpenMP>;
def err_ompx_bare_no_grid : Error<
"'ompx_bare' clauses requires explicit grid size via 'num_teams' and 'thread_limit' clauses">;
+def err_omp_multi_expr_not_allowed: Error<"only one expression allowed to '%0' clause">;
----------------
jdoerfert wrote:
```suggestion
def err_omp_multi_expr_not_allowed: Error<"only one expression allowed in '%0' clause">;
```
https://github.com/llvm/llvm-project/pull/99732
More information about the cfe-commits
mailing list