[AMDGPU] Removed superfluous predicate. NFC.
[llvm-project.git] / clang / test / PCH / types.h
blob7df3f99700f6db69c6d2eaa26c914189f1400cc3
1 /* Used with the types.c test */
3 // TYPE_EXT_QUAL
4 typedef __attribute__((address_space(1))) int ASInt;
6 // TYPE_COMPLEX
7 typedef _Complex float Cfloat;
9 // TYPE_ATOMIC
10 typedef _Atomic(int) AtomicInt;
12 // TYPE_POINTER
13 typedef int * int_ptr;
15 // TYPE_BLOCK_POINTER
16 typedef int (^Block)(int, float);
18 // TYPE_CONSTANT_ARRAY
19 typedef int five_ints[5];
21 // TYPE_INCOMPLETE_ARRAY
22 typedef float float_array[];
24 // TYPE_VARIABLE_ARRAY in stmts.[ch]
26 // TYPE_VECTOR
27 typedef float float4 __attribute__((vector_size(16)));
29 // TYPE_EXT_VECTOR
30 typedef float ext_float4 __attribute__((ext_vector_type(4)));
32 // TYPE_FUNCTION_NO_PROTO
33 typedef int noproto();
35 // TYPE_FUNCTION_PROTO
36 typedef float proto(float, float, ...);
38 // TYPE_TYPEDEF
39 typedef int_ptr * int_ptr_ptr;
41 // TYPE_TYPEOF_EXPR
42 typedef typeof(17) typeof_17;
44 // TYPE_TYPEOF
45 typedef typeof(int_ptr *) int_ptr_ptr2;
47 struct S2;
48 struct S2 {};
49 enum E;
50 enum E { myenum };