[PATCH] D92406: [OpenCL] Add some more kernel argument tests
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 1 10:39:58 PST 2020
Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.
LGTM! Thanks
================
Comment at: clang/test/SemaOpenCL/invalid-kernel-parameters.cl:40
+void no_addrspace_param(global int x) { } // expected-error{{parameter may not be qualified with an address space}}
+
----------------
Btw this is tested in C, C++, and C++ for OpenCL. But I think it's good to test here as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92406/new/
https://reviews.llvm.org/D92406
More information about the cfe-commits
mailing list