jlebar added a comment.

> Ultimately, Sema should be responsible for rejecting this, correct?


I guess this is the part I'm unsure of.  If it's legal to pass a struct to 
printf in regular C++ (seems to be?), I'd guess it should be legal in CUDA, 
too?  I'm just not sure what it's supposed to do (in either case).


http://reviews.llvm.org/D17103



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

Reply via email to