Searched refs:incomplete_ptr (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/clang/test/C/drs/ |
| H A D | dr0xx.c | 514 struct incomplete *incomplete_ptr; in dr098() local 521 (*incomplete_ptr)++; /* expected-error {{cannot increment value of type 'struct incomplete'}} */ in dr098() 522 ++(*incomplete_ptr); /* expected-error {{cannot increment value of type 'struct incomplete'}} */ in dr098() 523 (*incomplete_ptr)--; /* expected-error {{cannot decrement value of type 'struct incomplete'}} */ in dr098() 524 --(*incomplete_ptr); /* expected-error {{cannot decrement value of type 'struct incomplete'}} */ in dr098()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | sizeless-1.c | 52 struct incomplete_struct *incomplete_ptr; variable 71 …_Static_assert(__atomic_is_lock_free(1, &local_int8) == __atomic_is_lock_free(1, incomplete_ptr), … in func() 72 …_Static_assert(__atomic_is_lock_free(2, &local_int8) == __atomic_is_lock_free(2, incomplete_ptr), … in func() 73 …ert(__atomic_always_lock_free(1, &local_int8) == __atomic_always_lock_free(1, incomplete_ptr), ""); in func()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | sizeless-1.cpp | 62 struct incomplete_struct *incomplete_ptr; variable 80 …_Static_assert(__atomic_is_lock_free(1, &local_int8) == __atomic_is_lock_free(1, incomplete_ptr), … in func() 81 …_Static_assert(__atomic_is_lock_free(2, &local_int8) == __atomic_is_lock_free(2, incomplete_ptr), … in func() 82 …ert(__atomic_always_lock_free(1, &local_int8) == __atomic_always_lock_free(1, incomplete_ptr), ""); in func()
|