yaxunl added a comment. Actually we need to assume ndrange_t is a user defined typedef instead of struct due to the way its used in the spec, e.g.
void f(ndrange_t x); instead of void f(struct ndrange_t x); Then it may be a little bit tricky to decide whether a type is ndrange_t type. Any suggestions? Repository: rL LLVM https://reviews.llvm.org/D23086 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits