tbaeder added inline comments.
================
Comment at: clang/test/SemaOpenCL/address-spaces.cl:261
typedef __private int private_int_t;
- __private __attribute__((opencl_global)) int var1; // expected-error
{{multiple address spaces specified for type}} \
+ __attribute__((opencl_global)) __private int var1; // expected-error
{{multiple address spaces specified for type}} \
// expected-error
{{function scope variable cannot be declared in global address space}}
----------------
This is a peculiar ordering problem...
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121201/new/
https://reviews.llvm.org/D121201
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits