rsmith added a comment.

Please don't ban things just because you can. If there's some reason why this 
doesn't make sense in OpenCL, this may be fine, but generally you shouldn't be 
making this language mode deviate from clang's normal behaviour regarding 
extensions.

(It would be great if we had a flag to turn off gnu extensions other than 
-pedantic-errors, like we have for MS extensions, but that's mostly orthogonal 
to OpenCL.)


https://reviews.llvm.org/D26735



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

Reply via email to