Searched refs:void_ptr (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | address-space-conversion.cpp | 9 typedef void *void_ptr; typedef 50 void test_static_cast(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_static_cast() 64 (void)static_cast<void_ptr>(ap); in test_static_cast() 88 (void)static_cast<void_ptr>(ap1); // expected-error{{is not allowed}} in test_static_cast() 89 (void)static_cast<void_ptr>(ap2); // expected-error{{is not allowed}} in test_static_cast() 131 void test_reinterpret_cast(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_reinterpret_cast() 157 void test_cstyle_cast(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_cstyle_cast() 181 void test_implicit_conversion(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_implicit_conversion() 185 void_ptr vpA = ap; in test_implicit_conversion() 193 void_ptr vpB = ap1; // expected-error{{cannot initialize a variable of type}} in test_implicit_conversion()
|
| H A D | address-space-placement.cpp | 48 using void_ptr [[clang::address_space(1)]] = void *; // expected-warning {{applying attribute 'addr… typedef 51 using void_ptr = void [[clang::address_space(1)]] *; typedef
|
| H A D | warn-bad-memaccess.cpp | 121 void test_nowarn(void *void_ptr) { in test_nowarn() argument 130 memset(void_ptr, 0, 42); in test_nowarn()
|
| /llvm-project-15.0.7/clang/test/CodeGenCUDA/ |
| H A D | kernel-stub-name.cu | 47 extern "C" void *void_ptr; 114 void_ptr = (void *)ckernel; in fun3() 115 void_ptr = (void *)&ckernel; in fun3()
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | libisl-gdb.py | 14 void_ptr = gdb.lookup_type('void').pointer() 15 value = str(self.val.cast(void_ptr)) 39 void_ptr = gdb.lookup_type('void').pointer() 40 value = str(self.val.cast(void_ptr))
|
| /llvm-project-15.0.7/mlir/test/Conversion/GPUCommon/ |
| H A D | lower-alloc-to-gpu-runtime-calls.mlir | 14 // CHECK: %[[void_ptr:.*]] = llvm.bitcast %[[float_ptr]] 15 // CHECK: llvm.call @mgpuMemFree(%[[void_ptr]], %[[stream]])
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | mips-transparent-union.c | 12 void *void_ptr; member
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/Inputs/ |
| H A D | arc-system-header.h | 11 void *void_ptr; member
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | cxx_exprs.cpp | 16 static_cast_result void_ptr = &integer; variable
|
| H A D | exprs.c | 72 void_ptr vp1 = &integer;
|
| H A D | exprs.h | 70 typedef typeof((void *)0) void_ptr; typedef
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | arc-system-header.mm | 6 a->data.void_ptr = 0;
|
| /llvm-project-15.0.7/llvm/test/Bindings/OCaml/ |
| H A D | core.ml | 259 let void_ptr = pointer_type i8_type in 316 void_ptr) m); 983 let void_ptr = pointer_type i8_type in 1018 let inst37 = build_inttoptr p1 void_ptr "build_inttoptr" atentry in
|