[PATCH] D154556: [OPENMP52] Support Support omp_cur_iteration modifier for doacross clause.

Jennifer Yu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 6 08:47:10 PDT 2023


jyu2 added inline comments.


================
Comment at: clang/lib/AST/OpenMPClause.cpp:2516-2523
+  if (DepType == OMPC_DOACROSS_source)
+    OS << "source:";
+  else if (DepType == OMPC_DOACROSS_sink)
+    OS << "sink:";
+  else if (DepType == OMPC_DOACROSS_source_omp_cur_iteration)
+    OS << "source: omp_cur_iteration";
+  else if (DepType == OMPC_DOACROSS_sink_omp_cur_iteration)
----------------
ABataev wrote:
> switch?
Thanks.  Changed!.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154556/new/

https://reviews.llvm.org/D154556



More information about the cfe-commits mailing list