[PATCH] D121201: [clang] Merge the SourceRange into ParsedAttributes
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 8 02:33:32 PST 2022
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
More information about the cfe-commits
mailing list