koops updated this revision to Diff 554920.
koops added a comment.
Using isOpenMPWorksharingDirective( ) for the "omp loop bind(parallel)" and
"omp loop bind(teams)".
Added extra tests in loop_bind_messages.cpp.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158266/new/
https://reviews.
ABataev added a comment.
Add tests for the nesting of regions to check all possible combinations
correctly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158266/new/
https://reviews.llvm.org/D158266
___
ABataev added inline comments.
Comment at: clang/include/clang/Basic/OpenMPKinds.h:251
+/// or 'omp for' directive, otherwise - false.
+bool isOpenMPForDirective(OpenMPDirectiveKind DKind);
+
What if the outer regioun is sections?
Repository:
rG LLVM Github M
koops created this revision.
koops added reviewers: ddpagan, ABataev, jdoerfert, dreachem, tianshilei1992,
soumitra, RitanyaB, thakis.
Herald added a project: All.
koops requested review of this revision.
Herald added subscribers: cfe-commits, jplehr, sstefan1.
Herald added a project: clang.
http