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
Event Timeline
Comment Actions
LG with a nit
lib/Sema/SemaOpenMP.cpp | ||
---|---|---|
3360–3366 | Please, enclose multiline sub-statements of 'if' statement into braces. |
Please, enclose multiline sub-statements of 'if' statement into braces.