ABataev added a comment.
In D57984#1394050 <https://reviews.llvm.org/D57984#1394050>, @rsmith wrote:
> @ABataev Is it intentional that we do not propagate `Allowed` through labels?
> For example:
>
> void f() {
> #pragma omp barrier // ok
>
> label:
> #pragma omp barrier // error, "cannot be an immediate substatement"
>
> label:
> ;
> #pragma omp barrier // ok
> }
>
>
> ?
No, it is a bug.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57984/new/
https://reviews.llvm.org/D57984
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits