The spec mandates that 'a teams construct must be contained within a target construct'. Currently, this scenario is not diagnosed. This patch is to add check for orphaned teams construct and issue an error message.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LG with a nit
lib/Sema/SemaOpenMP.cpp | ||
---|---|---|
3360–3366 ↗ | (On Diff #65430) | Please, enclose multiline sub-statements of 'if' statement into braces. |