Lines Matching full:address
7 void bar(_AS2 int a); // expected-error {{parameter may not be qualified with an address space}}
10 _AS1 float b) // expected-error {{parameter may not be qualified with an address space}}
15 int _AS1 _AS2 *Y; // expected-error {{multiple address spaces specified for type}}
16 int *_AS1 _AS2 *Z; // expected-error {{multiple address spaces specified for type}}
18 _AS1 int local; // expected-error {{automatic variable qualified with an address space}}
19 _AS1 int array[5]; // expected-error {{automatic variable qualified with an address space}}
20 _AS1 int arrarr[5][5]; // expected-error {{automatic variable qualified with an address space}}
22 __attribute__((address_space(-1))) int *_boundsA; // expected-error {{address space is negative}}
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}}
39 return base[0]; // expected-error {{returning '__attribute__((address_space(256))) void *' from a function with result type 'void *' changes address space of pointer}}
45 test3_helper(test3_array); // expected-error {{changes address space of pointer}}
49 _AS1 ft qf; // expected-error {{function type may not be qualified with an address space}}
50 typedef _AS1 ft qft; // expected-error {{function type may not be qualified with an address space}}
57 _AS2 int as_field; // expected-error {{field may not be qualified with an address space}}
58 AS2Int typedef_as_field; // expected-error {{field may not be qualified with an address space}}
71 // Clang extension doesn't forbid operations on pointers to different address spaces.