[clang] [Clang][Sema][OpenMP] Allow `num_teams` to accept multiple expressions (PR #99732)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 31 13:57:18 PDT 2024
================
@@ -13004,13 +13004,34 @@ StmtResult SemaOpenMP::ActOnOpenMPTargetUpdateDirective(
Clauses, AStmt);
}
+// This checks whether num_teams clause only has one expression.
+static bool checkNumTeamsClauseSingleExpr(SemaBase &SemaRef,
----------------
shiltian wrote:
This function will be extended later to support `thread_limit` clause.
https://github.com/llvm/llvm-project/pull/99732
More information about the cfe-commits
mailing list