Home | History | Annotate | Download | only in Sema

Lines Matching refs:address_space

3 #define _AS1 __attribute__((address_space(1)))
4 #define _AS2 __attribute__((address_space(2)))
5 #define _AS3 __attribute__((address_space(3)))
22 __attribute__((address_space(-1))) int *_boundsA; // expected-error {{address space is negative}}
23 __attribute__((address_space(0xFFFFFF))) int *_boundsB;
24 __attribute__((address_space(0x1000000))) int *_boundsC; // expected-error {{address space is larger than the maximum supported}}
26 __attribute__((address_space(4294967500))) int *_boundsD; // expected-error {{address space is larger than the maximum supported}}
33 } s __attribute ((address_space(1))) = {1, 1};
37 __attribute__((address_space(256))) void * * const base = 0;
39 return base[0]; // expected-error {{returning '__attribute__((address_space(256))) void *' from a function with result type 'void *' changes address space of pointer}}
42 __attribute__((address_space(1))) char test3_array[10];
68 typedef int PR4997 __attribute__((address_space(Foobar))); // expected-error {{use of undeclared identifier 'Foobar'}}
69 __attribute__((address_space("12"))) int *i; // expected-error {{'address_space' attribute requires an integer constant}}