Home | History | Annotate | Download | only in Sema

Lines Matching refs:__c11_atomic_store

88   __c11_atomic_store(0,0,0); // expected-error {{address argument to atomic builtin must be a pointer}}
89 __c11_atomic_store((int*)0,0,0); // expected-error {{address argument to atomic operation must be a pointer to _Atomic}}
107 __c11_atomic_store(i, 1, memory_order_seq_cst);
108 __c11_atomic_store(p, 1, memory_order_seq_cst); // expected-warning {{incompatible integer to pointer conversion}}
109 (int)__c11_atomic_store(d, 1, memory_order_seq_cst); // expected-error {{operand of type 'void'}}
172 __c11_atomic_store(&const_atomic, 0, memory_order_release); // expected-error {{address argument to atomic operation must be a pointer to non-const _Atomic type ('const _Atomic(int) *' invalid)}}
196 (void)__c11_atomic_store(Ap, val, memory_order_relaxed);
197 (void)__c11_atomic_store(Ap, val, memory_order_acquire); // expected-warning {{memory order argument to atomic operation is invalid}}
198 (void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argument to atomic operation is invalid}}
199 (void)__c11_atomic_store(Ap, val, memory_order_release);
200 (void)__c11_atomic_store(Ap, val, memory_order_acq_rel); // expected-warning {{memory order argument to atomic operation is invalid}}
201 (void)__c11_atomic_store(Ap, val, memory_order_seq_cst);