1
- /// IMPORTANT: This file is automatically generated.
2
1
import cclang
2
+
3
3
/// MARK: Special Types
4
- struct RecordType : ClangTypeBacked {
4
+ public struct RecordType : ClangTypeBacked {
5
5
let clang : CXType
6
6
/// Computes the offset of a named field in a record of the given type
7
7
/// in bytes as it would be returned by __offsetof__ as per C++11[18.2p4]
@@ -21,6 +21,7 @@ struct RecordType: ClangTypeBacked {
21
21
}
22
22
return Int ( val)
23
23
}
24
+
24
25
/// Gathers and returns all the fields of this record.
25
26
func fields( ) -> [ Cursor ] {
26
27
let fields = Box ( [ Cursor] ( ) )
@@ -41,212 +42,212 @@ struct RecordType: ClangTypeBacked {
41
42
/// MARK: Standard Types
42
43
43
44
/// Represents an invalid type (e.g., where no type is available).
44
- struct InvalidType : ClangTypeBacked {
45
+ public struct InvalidType : ClangTypeBacked {
45
46
let clang : CXType
46
47
}
47
48
/// A type whose specific kind is not exposed via this interface.
48
- struct UnexposedType : ClangTypeBacked {
49
+ public struct UnexposedType : ClangTypeBacked {
49
50
let clang : CXType
50
51
}
51
52
52
- struct VoidType : ClangTypeBacked {
53
+ public struct VoidType : ClangTypeBacked {
53
54
let clang : CXType
54
55
}
55
56
56
- struct BoolType : ClangTypeBacked {
57
+ public struct BoolType : ClangTypeBacked {
57
58
let clang : CXType
58
59
}
59
60
60
- struct Char_UType : ClangTypeBacked {
61
+ public struct Char_UType : ClangTypeBacked {
61
62
let clang : CXType
62
63
}
63
64
64
- struct UCharType : ClangTypeBacked {
65
+ public struct UCharType : ClangTypeBacked {
65
66
let clang : CXType
66
67
}
67
68
68
- struct Char16Type : ClangTypeBacked {
69
+ public struct Char16Type : ClangTypeBacked {
69
70
let clang : CXType
70
71
}
71
72
72
- struct Char32Type : ClangTypeBacked {
73
+ public struct Char32Type : ClangTypeBacked {
73
74
let clang : CXType
74
75
}
75
76
76
- struct UShortType : ClangTypeBacked {
77
+ public struct UShortType : ClangTypeBacked {
77
78
let clang : CXType
78
79
}
79
80
80
- struct UIntType : ClangTypeBacked {
81
+ public struct UIntType : ClangTypeBacked {
81
82
let clang : CXType
82
83
}
83
84
84
- struct ULongType : ClangTypeBacked {
85
+ public struct ULongType : ClangTypeBacked {
85
86
let clang : CXType
86
87
}
87
88
88
- struct ULongLongType : ClangTypeBacked {
89
+ public struct ULongLongType : ClangTypeBacked {
89
90
let clang : CXType
90
91
}
91
92
92
- struct UInt128Type : ClangTypeBacked {
93
+ public struct UInt128Type : ClangTypeBacked {
93
94
let clang : CXType
94
95
}
95
96
96
- struct Char_SType : ClangTypeBacked {
97
+ public struct Char_SType : ClangTypeBacked {
97
98
let clang : CXType
98
99
}
99
100
100
- struct SCharType : ClangTypeBacked {
101
+ public struct SCharType : ClangTypeBacked {
101
102
let clang : CXType
102
103
}
103
104
104
- struct WCharType : ClangTypeBacked {
105
+ public struct WCharType : ClangTypeBacked {
105
106
let clang : CXType
106
107
}
107
108
108
- struct ShortType : ClangTypeBacked {
109
+ public struct ShortType : ClangTypeBacked {
109
110
let clang : CXType
110
111
}
111
112
112
- struct IntType : ClangTypeBacked {
113
+ public struct IntType : ClangTypeBacked {
113
114
let clang : CXType
114
115
}
115
116
116
- struct LongType : ClangTypeBacked {
117
+ public struct LongType : ClangTypeBacked {
117
118
let clang : CXType
118
119
}
119
120
120
- struct LongLongType : ClangTypeBacked {
121
+ public struct LongLongType : ClangTypeBacked {
121
122
let clang : CXType
122
123
}
123
124
124
- struct Int128Type : ClangTypeBacked {
125
+ public struct Int128Type : ClangTypeBacked {
125
126
let clang : CXType
126
127
}
127
128
128
- struct FloatType : ClangTypeBacked {
129
+ public struct FloatType : ClangTypeBacked {
129
130
let clang : CXType
130
131
}
131
132
132
- struct DoubleType : ClangTypeBacked {
133
+ public struct DoubleType : ClangTypeBacked {
133
134
let clang : CXType
134
135
}
135
136
136
- struct LongDoubleType : ClangTypeBacked {
137
+ public struct LongDoubleType : ClangTypeBacked {
137
138
let clang : CXType
138
139
}
139
140
140
- struct NullPtrType : ClangTypeBacked {
141
+ public struct NullPtrType : ClangTypeBacked {
141
142
let clang : CXType
142
143
}
143
144
144
- struct OverloadType : ClangTypeBacked {
145
+ public struct OverloadType : ClangTypeBacked {
145
146
let clang : CXType
146
147
}
147
148
148
- struct DependentType : ClangTypeBacked {
149
+ public struct DependentType : ClangTypeBacked {
149
150
let clang : CXType
150
151
}
151
152
152
- struct ObjCIdType : ClangTypeBacked {
153
+ public struct ObjCIdType : ClangTypeBacked {
153
154
let clang : CXType
154
155
}
155
156
156
- struct ObjCClassType : ClangTypeBacked {
157
+ public struct ObjCClassType : ClangTypeBacked {
157
158
let clang : CXType
158
159
}
159
160
160
- struct ObjCSelType : ClangTypeBacked {
161
+ public struct ObjCSelType : ClangTypeBacked {
161
162
let clang : CXType
162
163
}
163
164
164
- struct Float128Type : ClangTypeBacked {
165
+ public struct Float128Type : ClangTypeBacked {
165
166
let clang : CXType
166
167
}
167
168
168
- struct FirstBuiltinType : ClangTypeBacked {
169
+ public struct FirstBuiltinType : ClangTypeBacked {
169
170
let clang : CXType
170
171
}
171
172
172
- struct LastBuiltinType : ClangTypeBacked {
173
+ public struct LastBuiltinType : ClangTypeBacked {
173
174
let clang : CXType
174
175
}
175
176
176
- struct ComplexType : ClangTypeBacked {
177
+ public struct ComplexType : ClangTypeBacked {
177
178
let clang : CXType
178
179
}
179
180
180
- struct PointerType : ClangTypeBacked {
181
+ public struct PointerType : ClangTypeBacked {
181
182
let clang : CXType
182
183
}
183
184
184
- struct BlockPointerType : ClangTypeBacked {
185
+ public struct BlockPointerType : ClangTypeBacked {
185
186
let clang : CXType
186
187
}
187
188
188
- struct LValueReferenceType : ClangTypeBacked {
189
+ public struct LValueReferenceType : ClangTypeBacked {
189
190
let clang : CXType
190
191
}
191
192
192
- struct RValueReferenceType : ClangTypeBacked {
193
+ public struct RValueReferenceType : ClangTypeBacked {
193
194
let clang : CXType
194
195
}
195
196
196
- struct EnumType : ClangTypeBacked {
197
+ public struct EnumType : ClangTypeBacked {
197
198
let clang : CXType
198
199
}
199
200
200
- struct TypedefType : ClangTypeBacked {
201
+ public struct TypedefType : ClangTypeBacked {
201
202
let clang : CXType
202
203
}
203
204
204
- struct ObjCInterfaceType : ClangTypeBacked {
205
+ public struct ObjCInterfaceType : ClangTypeBacked {
205
206
let clang : CXType
206
207
}
207
208
208
- struct ObjCObjectPointerType : ClangTypeBacked {
209
+ public struct ObjCObjectPointerType : ClangTypeBacked {
209
210
let clang : CXType
210
211
}
211
212
212
- struct FunctionNoProtoType : ClangTypeBacked {
213
+ public struct FunctionNoProtoType : ClangTypeBacked {
213
214
let clang : CXType
214
215
}
215
216
216
- struct FunctionProtoType : ClangTypeBacked {
217
+ public struct FunctionProtoType : ClangTypeBacked {
217
218
let clang : CXType
218
219
}
219
220
220
- struct ConstantArrayType : ClangTypeBacked {
221
+ public struct ConstantArrayType : ClangTypeBacked {
221
222
let clang : CXType
222
223
}
223
224
224
- struct VectorType : ClangTypeBacked {
225
+ public struct VectorType : ClangTypeBacked {
225
226
let clang : CXType
226
227
}
227
228
228
- struct IncompleteArrayType : ClangTypeBacked {
229
+ public struct IncompleteArrayType : ClangTypeBacked {
229
230
let clang : CXType
230
231
}
231
232
232
- struct VariableArrayType : ClangTypeBacked {
233
+ public struct VariableArrayType : ClangTypeBacked {
233
234
let clang : CXType
234
235
}
235
236
236
- struct DependentSizedArrayType : ClangTypeBacked {
237
+ public struct DependentSizedArrayType : ClangTypeBacked {
237
238
let clang : CXType
238
239
}
239
240
240
- struct MemberPointerType : ClangTypeBacked {
241
+ public struct MemberPointerType : ClangTypeBacked {
241
242
let clang : CXType
242
243
}
243
244
244
- struct AutoType : ClangTypeBacked {
245
+ public struct AutoType : ClangTypeBacked {
245
246
let clang : CXType
246
247
}
247
248
248
249
/// Represents a type that was referred to using an elaborated type keyword.
249
- struct ElaboratedType : ClangTypeBacked {
250
+ public struct ElaboratedType : ClangTypeBacked {
250
251
let clang : CXType
251
252
}
252
253
0 commit comments