ABataev added a comment.

I see. I think it is better to check the `CancelRegion` just before call of 
`CheckNestingOfRegions()` function. You need to extract checks for 
`CancelRegion` from `ActOnOpenMPCancellationPointDirective()` and 
`ActOnOpenMPCancelDirective()` functions into a standalone function and call it 
before `CheckNestingOfRegions()`.


https://reviews.llvm.org/D30135



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to