[PATCH] D112292: [Clang][OpenMP] Allow loop iteration var with threadprivate directive

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 22 09:13:26 PDT 2021


ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.

LG with a nit.



================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:8658
               !isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
+              DVar.CKind != OMPC_threadprivate &&
               DVar.CKind != OMPC_private && DVar.CKind != OMPC_lastprivate)) &&
----------------
Need to fix the formatting.


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

https://reviews.llvm.org/D112292



More information about the cfe-commits mailing list