Lines Matching refs:ast

211   TypeSystemClang *ast = m_type_system_up.get();  in GetSiginfoType()  local
214 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType()
215 CompilerType uint_type = ast->GetBasicType(eBasicTypeUnsignedInt); in GetSiginfoType()
216 CompilerType long_type = ast->GetBasicType(eBasicTypeLong); in GetSiginfoType()
217 CompilerType long_long_type = ast->GetBasicType(eBasicTypeLongLong); in GetSiginfoType()
218 CompilerType voidp_type = ast->GetBasicType(eBasicTypeVoid).GetPointerType(); in GetSiginfoType()
226 CompilerType sigval_type = ast->CreateRecordType( in GetSiginfoType()
229 ast->StartTagDeclarationDefinition(sigval_type); in GetSiginfoType()
230 ast->AddFieldToRecordType(sigval_type, "sival_int", int_type, in GetSiginfoType()
232 ast->AddFieldToRecordType(sigval_type, "sival_ptr", voidp_type, in GetSiginfoType()
234 ast->CompleteTagDeclarationDefinition(sigval_type); in GetSiginfoType()
236 CompilerType ptrace_option_type = ast->CreateRecordType( in GetSiginfoType()
239 ast->StartTagDeclarationDefinition(ptrace_option_type); in GetSiginfoType()
240 ast->AddFieldToRecordType(ptrace_option_type, "_pe_other_pid", pid_type, in GetSiginfoType()
242 ast->AddFieldToRecordType(ptrace_option_type, "_pe_lwp", lwpid_type, in GetSiginfoType()
244 ast->CompleteTagDeclarationDefinition(ptrace_option_type); in GetSiginfoType()
247 CompilerType siginfo_type = ast->CreateRecordType( in GetSiginfoType()
250 ast->StartTagDeclarationDefinition(siginfo_type); in GetSiginfoType()
253 CompilerType ksiginfo_type = ast->CreateRecordType( in GetSiginfoType()
256 ast->StartTagDeclarationDefinition(ksiginfo_type); in GetSiginfoType()
257 ast->AddFieldToRecordType(ksiginfo_type, "_signo", int_type, in GetSiginfoType()
259 ast->AddFieldToRecordType(ksiginfo_type, "_code", int_type, in GetSiginfoType()
261 ast->AddFieldToRecordType(ksiginfo_type, "_errno", int_type, in GetSiginfoType()
266 ast->AddFieldToRecordType(ksiginfo_type, "__pad0", int_type, in GetSiginfoType()
270 CompilerType union_type = ast->CreateRecordType( in GetSiginfoType()
273 ast->StartTagDeclarationDefinition(union_type); in GetSiginfoType()
275 ast->AddFieldToRecordType( in GetSiginfoType()
277 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
285 ast->AddFieldToRecordType( in GetSiginfoType()
287 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
297 ast->AddFieldToRecordType( in GetSiginfoType()
299 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
308 ast->AddFieldToRecordType( in GetSiginfoType()
310 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
317 ast->AddFieldToRecordType(union_type, "_syscall", in GetSiginfoType()
318 ast->CreateStructForIdentifier( in GetSiginfoType()
328 ast->AddFieldToRecordType( in GetSiginfoType()
330 ast->CreateStructForIdentifier(ConstString(), in GetSiginfoType()
337 ast->CompleteTagDeclarationDefinition(union_type); in GetSiginfoType()
338 ast->AddFieldToRecordType(ksiginfo_type, "_reason", union_type, in GetSiginfoType()
341 ast->CompleteTagDeclarationDefinition(ksiginfo_type); in GetSiginfoType()
342 ast->AddFieldToRecordType(siginfo_type, "_info", ksiginfo_type, in GetSiginfoType()
345 ast->CompleteTagDeclarationDefinition(siginfo_type); in GetSiginfoType()