[PATCH] D17437: [OpenCL] Add Sema checks for types

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 22 10:07:24 PST 2016

Anastasia added inline comments.

Comment at: test/SemaOpenCL/invalid-image.cl:3
@@ +2,3 @@
+void test1(image1d_t *i){} // expected-error {{pointer to type 'image1d_t' is invalid in OpenCL}}
Anastasia wrote:
> Could we add similar tests for other types too. I think we could put them in existing cl files.
At least sampler test could go into test/SemaOpenCL/sampler_t.cl


More information about the cfe-commits mailing list