Anastasia added a comment.

In D65286#1601404 <https://reviews.llvm.org/D65286#1601404>, @rjmccall wrote:

> Wait, plain C++?  Do we currently allow this syntax outside of OpenCL?


Ok I looked into this again and it seems apparently vector initialization and 
literals in C++ have different syntax. So I was incorrect, this fix only works 
for OpenCL. Not sure how important it is to initialize vectors from other 
vectors in C++ though. In OpenCL C it is common.


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

https://reviews.llvm.org/D65286



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

Reply via email to