Lines Matching refs:ast
192 TypeSystemClang *ast = m_type_system_up.get(); in GetSiginfoType() local
195 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType()
196 CompilerType uint_type = ast->GetBasicType(eBasicTypeUnsignedInt); in GetSiginfoType()
197 CompilerType long_type = ast->GetBasicType(eBasicTypeLong); in GetSiginfoType()
198 CompilerType voidp_type = ast->GetBasicType(eBasicTypeVoid).GetPointerType(); in GetSiginfoType()
204 CompilerType sigval_type = ast->CreateRecordType( in GetSiginfoType()
207 ast->StartTagDeclarationDefinition(sigval_type); in GetSiginfoType()
208 ast->AddFieldToRecordType(sigval_type, "sival_int", int_type, in GetSiginfoType()
210 ast->AddFieldToRecordType(sigval_type, "sival_ptr", voidp_type, in GetSiginfoType()
212 ast->CompleteTagDeclarationDefinition(sigval_type); in GetSiginfoType()
215 CompilerType siginfo_type = ast->CreateRecordType( in GetSiginfoType()
218 ast->StartTagDeclarationDefinition(siginfo_type); in GetSiginfoType()
219 ast->AddFieldToRecordType(siginfo_type, "si_signo", int_type, in GetSiginfoType()
221 ast->AddFieldToRecordType(siginfo_type, "si_errno", int_type, in GetSiginfoType()
223 ast->AddFieldToRecordType(siginfo_type, "si_code", int_type, in GetSiginfoType()
225 ast->AddFieldToRecordType(siginfo_type, "si_pid", pid_type, in GetSiginfoType()
227 ast->AddFieldToRecordType(siginfo_type, "si_uid", uid_type, in GetSiginfoType()
229 ast->AddFieldToRecordType(siginfo_type, "si_status", int_type, in GetSiginfoType()
231 ast->AddFieldToRecordType(siginfo_type, "si_addr", voidp_type, in GetSiginfoType()
233 ast->AddFieldToRecordType(siginfo_type, "si_value", sigval_type, in GetSiginfoType()
237 CompilerType union_type = ast->CreateRecordType( in GetSiginfoType()
240 ast->StartTagDeclarationDefinition(union_type); in GetSiginfoType()
242 ast->AddFieldToRecordType( in GetSiginfoType()
244 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
250 ast->AddFieldToRecordType( in GetSiginfoType()
252 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
259 ast->AddFieldToRecordType( in GetSiginfoType()
261 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
267 ast->AddFieldToRecordType( in GetSiginfoType()
269 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
275 ast->CompleteTagDeclarationDefinition(union_type); in GetSiginfoType()
276 ast->AddFieldToRecordType(siginfo_type, "_reason", union_type, in GetSiginfoType()
279 ast->CompleteTagDeclarationDefinition(siginfo_type); in GetSiginfoType()