Lines Matching refs:ast

317   TypeSystemClang *ast = m_type_system_up.get();  in GetSiginfoType()  local
334 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType()
335 CompilerType uint_type = ast->GetBasicType(eBasicTypeUnsignedInt); in GetSiginfoType()
336 CompilerType short_type = ast->GetBasicType(eBasicTypeShort); in GetSiginfoType()
337 CompilerType long_type = ast->GetBasicType(eBasicTypeLong); in GetSiginfoType()
338 CompilerType voidp_type = ast->GetBasicType(eBasicTypeVoid).GetPointerType(); in GetSiginfoType()
346 CompilerType sigval_type = ast->CreateRecordType( in GetSiginfoType()
349 ast->StartTagDeclarationDefinition(sigval_type); in GetSiginfoType()
350 ast->AddFieldToRecordType(sigval_type, "sival_int", int_type, in GetSiginfoType()
352 ast->AddFieldToRecordType(sigval_type, "sival_ptr", voidp_type, in GetSiginfoType()
354 ast->CompleteTagDeclarationDefinition(sigval_type); in GetSiginfoType()
356 CompilerType sigfault_bounds_type = ast->CreateRecordType( in GetSiginfoType()
359 ast->StartTagDeclarationDefinition(sigfault_bounds_type); in GetSiginfoType()
360 ast->AddFieldToRecordType(sigfault_bounds_type, "_addr_bnd", in GetSiginfoType()
361 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
367 ast->AddFieldToRecordType(sigfault_bounds_type, "_pkey", uint_type, in GetSiginfoType()
369 ast->CompleteTagDeclarationDefinition(sigfault_bounds_type); in GetSiginfoType()
372 CompilerType siginfo_type = ast->CreateRecordType( in GetSiginfoType()
375 ast->StartTagDeclarationDefinition(siginfo_type); in GetSiginfoType()
376 ast->AddFieldToRecordType(siginfo_type, "si_signo", int_type, in GetSiginfoType()
380 ast->AddFieldToRecordType(siginfo_type, "si_errno", int_type, in GetSiginfoType()
382 ast->AddFieldToRecordType(siginfo_type, "si_code", int_type, in GetSiginfoType()
385 ast->AddFieldToRecordType(siginfo_type, "si_code", int_type, in GetSiginfoType()
387 ast->AddFieldToRecordType(siginfo_type, "si_errno", int_type, in GetSiginfoType()
393 ast->AddFieldToRecordType(siginfo_type, "__pad0", int_type, in GetSiginfoType()
397 CompilerType union_type = ast->CreateRecordType( in GetSiginfoType()
400 ast->StartTagDeclarationDefinition(union_type); in GetSiginfoType()
402 ast->AddFieldToRecordType( in GetSiginfoType()
404 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
411 ast->AddFieldToRecordType( in GetSiginfoType()
413 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
421 ast->AddFieldToRecordType( in GetSiginfoType()
423 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
431 ast->AddFieldToRecordType( in GetSiginfoType()
433 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
443 ast->AddFieldToRecordType( in GetSiginfoType()
445 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
453 ast->AddFieldToRecordType( in GetSiginfoType()
455 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
463 ast->AddFieldToRecordType( in GetSiginfoType()
465 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
473 ast->CompleteTagDeclarationDefinition(union_type); in GetSiginfoType()
474 ast->AddFieldToRecordType(siginfo_type, "_sifields", union_type, in GetSiginfoType()
477 ast->CompleteTagDeclarationDefinition(siginfo_type); in GetSiginfoType()