[PATCH] D17345: [OpenCL] Improve diagnostics of address spaces for variables inside function

Mandeep Singh Grang via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 17 11:58:33 PST 2016


mgrang added a subscriber: mgrang.

================
Comment at: test/SemaOpenCL/storageclass-cl20.cl:9
@@ -8,2 +8,3 @@
 global int *global GP6 = 0;
+global int * GP7 = 0;
 
----------------
Pointers should align to the right. Like:

global int *GP7 = 0;


http://reviews.llvm.org/D17345





More information about the cfe-commits mailing list