[llvm-branch-commits] [clang] [llvm] [openmp] [Clang][OpenMP] Add reverse directive (PR #92916)

Alexey Bataev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 21 07:30:15 PDT 2024


================
@@ -6546,6 +6547,10 @@ StmtResult SemaOpenMP::ActOnOpenMPExecutableDirective(
     Res = ActOnOpenMPUnrollDirective(ClausesWithImplicit, AStmt, StartLoc,
                                      EndLoc);
     break;
+  case OMPD_reverse:
+    Res = ActOnOpenMPReverseDirective(ClausesWithImplicit, AStmt, StartLoc,
----------------
alexey-bataev wrote:

Do not pass clauses here, if they are not expected, just assert, that it should be empty

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


More information about the llvm-branch-commits mailing list