Anastasia added a comment. Wondering if we should add similar restrictions for other OpenCL types incl events or queues?
Also I am guessing that the following pipe int (*p) should be parsed as pointer to pipe and not a pointer to a pipe element type (by analogy to function pointers or other similar declarations). This isn't legal code I believe but the diagnostic currently doesn't seem right: error: pipes packet types cannot be of reference type http://reviews.llvm.org/D21989 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits