[PATCH] D126323: [OpenMP] Extend omp teams to permit nested omp atomic

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 13:55:38 PDT 2022


ABataev added inline comments.


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:4983
+                          CurrentRegion != OMPD_loop &&
+                          !(SemaRef.getLangOpts().OpenMPExtensions &&
+                            CurrentRegion == OMPD_atomic);
----------------
Can you add a check for 5.2?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126323



More information about the cfe-commits mailing list