ABataev added a comment.

In D82019#2098509 <https://reviews.llvm.org/D82019#2098509>, @jdoerfert wrote:

> Hm, does the standard say this is not allowed? I can see that we don't want 
> it but I'm not 100% certain here.


It does not say anything specific, but I don't think it is a good idea to 
declare a new type in the OpenMP directive. But you can still declare a new 
type in the structured block.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82019/new/

https://reviews.llvm.org/D82019



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

Reply via email to