Home
last modified time | relevance | path

Searched refs:_AS2 (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Daddress_spaces.c4 #define _AS2 __attribute__((address_space(2))) macro
7 void bar(_AS2 int a); // expected-error {{parameter may not be qualified with an address space}}
12 _AS2 *x;// expected-warning {{type specifier missing, defaults to 'int'}} in foo()
13 _AS1 float * _AS2 *B; in foo()
15 int _AS1 _AS2 *Y; // expected-error {{multiple address spaces specified for type}} in foo()
16 int *_AS1 _AS2 *Z; // expected-error {{multiple address spaces specified for type}} in foo()
54 typedef _AS2 int AS2Int;
58 _AS2 int as_field; // expected-error {{field may not be qualified with an address space}}
73 char* cmp(_AS1 char *x, _AS2 char *y) { in cmp()
77 char *sub(_AS1 char *x, _AS2 char *y) { in sub()
H A Datomic-ops.c128 #define _AS2 __attribute__((address_space(2))) macro
245 …_Bool cmpexch_10 = __c11_atomic_compare_exchange_strong((_Atomic int _AS1 *)0x308, (int _AS2 *)0x3… in f()