Lines Matching full:void
4 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
6 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp
10 void I( void (^)(void));
11 void (^noop)(void);
13 void nothing();
16 typedef void (^T) (void);
18 void takeblock(T);
33 void test2() {
46 void test4() {
47 void (^noop)(void) = ^{};
48 void (*noop2)() = 0;
51 void myfunc(int (^block)(int)) {}
53 void myfunc3(const int *x);
55 void test5() {
64 void *X;
67 void (^global_block)(void) = ^{ printf("global x is %d\n", global_x); };
69 // CHECK: static __global_block_block_impl_0 __global_global_block_block_impl_0((void *)__global_block_block_func_0, &__global_block_block_desc_0_DATA);
70 // CHECK: void (*global_block)(void) = (void (*)())&__global_global_block_block_impl_0;
72 typedef void (^void_block_t)(void);
76 static const void_block_t myBlock2 = ^ void(void) { };