Home
last modified time | relevance | path

Searched refs:clang_type (Results 1 – 25 of 38) sorted by relevance

12

/external/lldb/source/Symbol/
DVariable.cpp526 const ClangASTType& clang_type,
535 const ClangASTType& clang_type,
544 const ClangASTType& clang_type, in PrivateAutoCompleteMembers() argument
550 const uint32_t num_bases = clang_type.GetNumDirectBaseClasses(); in PrivateAutoCompleteMembers()
556 ClangASTType base_class_type (clang_type.GetDirectBaseClassAtIndex (i, NULL)); in PrivateAutoCompleteMembers()
568 const uint32_t num_vbases = clang_type.GetNumVirtualBaseClasses(); in PrivateAutoCompleteMembers()
574 ClangASTType vbase_class_type (clang_type.GetVirtualBaseClassAtIndex(i,NULL)); in PrivateAutoCompleteMembers()
587 const uint32_t num_fields = clang_type.GetNumFields(); in PrivateAutoCompleteMembers()
595 … ClangASTType member_clang_type = clang_type.GetFieldAtIndex (i, member_name, NULL, NULL, NULL); in PrivateAutoCompleteMembers()
622 const ClangASTType& clang_type, in PrivateAutoComplete() argument
[all …]
DClangASTContext.cpp699 clang_type_t clang_type = NULL; in GetBasicType() local
707 clang_type = ast->VoidTy.getAsOpaquePtr(); in GetBasicType()
710 clang_type = ast->CharTy.getAsOpaquePtr(); in GetBasicType()
713 clang_type = ast->SignedCharTy.getAsOpaquePtr(); in GetBasicType()
716 clang_type = ast->UnsignedCharTy.getAsOpaquePtr(); in GetBasicType()
719 clang_type = ast->getWCharType().getAsOpaquePtr(); in GetBasicType()
722 clang_type = ast->getSignedWCharType().getAsOpaquePtr(); in GetBasicType()
725 clang_type = ast->getUnsignedWCharType().getAsOpaquePtr(); in GetBasicType()
728 clang_type = ast->Char16Ty.getAsOpaquePtr(); in GetBasicType()
731 clang_type = ast->Char32Ty.getAsOpaquePtr(); in GetBasicType()
[all …]
/external/lldb/source/Core/
DValueObjectConstResult.cpp64 const ClangASTType &clang_type, in Create() argument
71 clang_type, in Create()
78 const ClangASTType &clang_type, in ValueObjectConstResult() argument
97 m_value.SetClangType(clang_type); in ValueObjectConstResult()
106 const ClangASTType &clang_type, in Create() argument
114 clang_type, in Create()
131 const ClangASTType &clang_type, in ValueObjectConstResult() argument
148 m_value.SetClangType (clang_type); in ValueObjectConstResult()
157 const ClangASTType &clang_type, in Create() argument
164 clang_type, in Create()
[all …]
DValueObjectCast.cpp101 ClangASTType clang_type (GetClangType()); in UpdateValue() local
103 m_value.SetClangType (clang_type); in UpdateValue()
105 if (clang_type.IsAggregateType ()) in UpdateValue()
DValueObjectConstResultImpl.cpp106 ClangASTType clang_type = m_impl_backend->GetClangType(); in CreateChildAtIndex() local
111 child_clang_type = clang_type.GetChildClangTypeAtIndex (&exe_ctx, in CreateChildAtIndex()
176 ClangASTType clang_type(m_impl_backend->GetClangType()); in AddressOf() local
184 clang_type.GetPointerType(), in AddressOf()
DValueObjectConstResultChild.cpp22 const ClangASTType &clang_type, in ValueObjectConstResultChild() argument
32 clang_type, in ValueObjectConstResultChild()
DValueObject.cpp286 ClangASTType clang_type(GetClangTypeImpl()); in MaybeCalculateCompleteType() local
293 return clang_type; in MaybeCalculateCompleteType()
299 if (clang_type.IsObjCObjectPointerType(&class_type)) in MaybeCalculateCompleteType()
303 else if (clang_type.IsObjCObjectOrInterfaceType()) in MaybeCalculateCompleteType()
305 class_type = clang_type; in MaybeCalculateCompleteType()
309 return clang_type; in MaybeCalculateCompleteType()
353 return clang_type; in MaybeCalculateCompleteType()
779 ClangASTType clang_type = GetClangType(); in GetSummaryAsCString() local
782 if (clang_type) in GetSummaryAsCString()
784 if (clang_type.IsFunctionPointerType ()) in GetSummaryAsCString()
[all …]
DValue.cpp259 Value::SetClangType (const ClangASTType &clang_type) in SetClangType() argument
261 m_clang_type = clang_type; in SetClangType()
625 const ClangASTType &clang_type = GetClangType(); in ResolveValue() local
626 if (clang_type.IsValid()) in ResolveValue()
644 if (clang_type.GetValueAsScalar (data, 0, data.GetByteSize(), scalar)) in ResolveValue()
DValueObjectChild.cpp30 const ClangASTType &clang_type, in ValueObjectChild() argument
41 m_clang_type (clang_type), in ValueObjectChild()
/external/lldb/include/lldb/DataFormatters/
DFormatNavigator.h526 ClangASTType clang_type, in Get_Impl() argument
533 if (!clang_type.IsValid()) in Get_Impl()
540 clang_type = clang_type.RemoveFastQualifiers(); in Get_Impl()
542 ConstString typeName(clang_type.GetConstTypeName()); in Get_Impl()
566 if (clang_type.IsReferenceType()) in Get_Impl()
570 …if (Get_Impl(valobj, clang_type.GetNonReferenceType(), entry, use_dynamic, reason) && !entry->Skip… in Get_Impl()
576 else if (clang_type.IsPointerType()) in Get_Impl()
580 …if (Get_Impl(valobj, clang_type.GetPointeeType(), entry, use_dynamic, reason) && !entry->SkipsPoin… in Get_Impl()
605 …if (Get_Impl(valobj, clang_type.GetPointeeType(), entry, use_dynamic, reason) && !entry->SkipsPoin… in Get_Impl()
613 if (clang_type.IsTypedefType()) in Get_Impl()
[all …]
/external/lldb/include/lldb/Core/
DValueObjectConstResult.h37 const ClangASTType &clang_type,
44 const ClangASTType &clang_type,
53 const ClangASTType &clang_type,
147 const ClangASTType &clang_type,
153 const ClangASTType &clang_type,
161 const ClangASTType &clang_type,
DValueObjectConstResultChild.h30 const ClangASTType &clang_type,
DValueObjectChild.h107 const ClangASTType &clang_type,
/external/lldb/source/Commands/
DCommandObjectArgs.cpp167 ClangASTType clang_type; in DoExecute() local
210 clang_type = ast_context.GetBuiltinTypeForEncodingAndBitSize(encoding, width); in DoExecute()
212 if (!clang_type.IsValid()) in DoExecute()
226 clang_type = ast_context.GetBasicType(eBasicTypeVoid).GetPointerType(); in DoExecute()
228 clang_type = ast_context.GetCStringType (false); in DoExecute()
243 value.SetClangType (clang_type); in DoExecute()
/external/lldb/source/Plugins/ABI/MacOSX-i386/
DABIMacOSX_i386.cpp514 ClangASTType clang_type (val->GetClangType()); in PrepareNormalCall() local
515 if (clang_type) in PrepareNormalCall()
518 if (clang_type.IsCStringType (cstr_length)) in PrepareNormalCall()
641 ClangASTType clang_type (value->GetClangType()); in GetArgumentValues() local
642 if (clang_type) in GetArgumentValues()
646 if (clang_type.IsIntegerType (is_signed)) in GetArgumentValues()
649 clang_type.GetBitSize(), in GetArgumentValues()
654 else if (clang_type.IsPointerType()) in GetArgumentValues()
657 clang_type.GetBitSize(), in GetArgumentValues()
678 ClangASTType clang_type = new_value_sp->GetClangType(); in SetReturnValueObject() local
[all …]
/external/lldb/source/DataFormatters/
DNSDictionary.cpp33 ClangASTType clang_type; in GetLLDBNSPairType() local
54 clang_type.SetClangType(ast, clang::QualType(record_decl->getTypeForDecl(), 0)); in GetLLDBNSPairType()
60 return clang_type; in GetLLDBNSPairType()
64 if (!clang_type) in GetLLDBNSPairType()
66clang_type = target_ast_context->CreateRecordType(NULL, lldb::eAccessPublic, type_name, clang::TTK… in GetLLDBNSPairType()
68 if (clang_type) in GetLLDBNSPairType()
70 clang_type.StartTagDeclarationDefinition(); in GetLLDBNSPairType()
72 clang_type.AddFieldToRecordType("key", id_clang_type, lldb::eAccessPublic, 0); in GetLLDBNSPairType()
73 clang_type.AddFieldToRecordType("value", id_clang_type, lldb::eAccessPublic, 0); in GetLLDBNSPairType()
74 clang_type.CompleteTagDeclarationDefinition(); in GetLLDBNSPairType()
[all …]
/external/lldb/source/Plugins/ABI/MacOSX-arm/
DABIMacOSX_arm.cpp339 ClangASTType clang_type = value->GetClangType(); in GetArgumentValues() local
340 if (clang_type) in GetArgumentValues()
344 if (clang_type.IsIntegerType (is_signed)) in GetArgumentValues()
346 bit_width = clang_type.GetBitSize(); in GetArgumentValues()
348 else if (clang_type.IsPointerOrReferenceType ()) in GetArgumentValues()
350 bit_width = clang_type.GetBitSize(); in GetArgumentValues()
422 lldb_private::ClangASTType &clang_type) const in GetReturnValueObjectImpl()
427 if (!clang_type) in GetReturnValueObjectImpl()
430 clang::ASTContext *ast_context = clang_type.GetASTContext(); in GetReturnValueObjectImpl()
435 value.SetClangType (clang_type); in GetReturnValueObjectImpl()
[all …]
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp414 ClangASTType clang_type = type->GetClangForwardType(); in GetTypes() local
415 if (clang_type_set.find(clang_type) == clang_type_set.end()) in GetTypes()
417 clang_type_set.insert(clang_type); in GetTypes()
1427 ClangASTType clang_type; in ParseTemplateDIE() local
1450 clang_type = lldb_type->GetClangForwardType(); in ParseTemplateDIE()
1467 if (!clang_type) in ParseTemplateDIE()
1468 clang_type = GetClangASTContext().GetBasicType(eBasicTypeVoid); in ParseTemplateDIE()
1470 if (clang_type) in ParseTemplateDIE()
1480 clang_type.IsIntegerType (is_signed) && in ParseTemplateDIE()
1486clang_type.GetQualType())); in ParseTemplateDIE()
[all …]
DSymbolFileDWARFDebugMap.cpp784 SymbolFileDWARFDebugMap::ResolveClangOpaqueTypeDefinition (ClangASTType& clang_type) in ResolveClangOpaqueTypeDefinition() argument
1388 ClangASTType clang_type = symbol_file_dwarf->GetClangASTContext().GetTypeForDecl (decl); in CompleteTagDecl() local
1389 if (clang_type) in CompleteTagDecl()
1395 if (oso_dwarf->HasForwardDeclForClangType (clang_type)) in CompleteTagDecl()
1397 oso_dwarf->ResolveClangOpaqueTypeDefinition (clang_type); in CompleteTagDecl()
1408 ClangASTType clang_type = symbol_file_dwarf->GetClangASTContext().GetTypeForDecl (decl); in CompleteObjCInterfaceDecl() local
1409 if (clang_type) in CompleteObjCInterfaceDecl()
1415 if (oso_dwarf->HasForwardDeclForClangType (clang_type)) in CompleteObjCInterfaceDecl()
1417 oso_dwarf->ResolveClangOpaqueTypeDefinition (clang_type); in CompleteObjCInterfaceDecl()
/external/lldb/include/lldb/Symbol/
DTaggedASTType.h23 TaggedASTType (const ClangASTType &clang_type) : in TaggedASTType() argument
24 ClangASTType(clang_type) in TaggedASTType()
/external/lldb/source/Expression/
DClangExpressionVariable.cpp84 ClangExpressionVariable::SetClangType(const ClangASTType &clang_type) in SetClangType() argument
86 m_frozen_sp->GetValue().SetClangType(clang_type); in SetClangType()
DASTDumper.cpp82 ASTDumper::ASTDumper (const ClangASTType &clang_type) in ASTDumper() argument
84 m_dump = clang_type.GetQualType().getAsString(); in ASTDumper()
/external/lldb/source/Plugins/ABI/SysV-x86_64/
DABISysV_x86_64.cpp529 ClangASTType clang_type = value->GetClangType(); in GetArgumentValues() local
530 if (!clang_type) in GetArgumentValues()
534 if (clang_type.IsIntegerType (is_signed)) in GetArgumentValues()
537 clang_type.GetBitSize(), in GetArgumentValues()
544 else if (clang_type.IsPointerType ()) in GetArgumentValues()
547 clang_type.GetBitSize(), in GetArgumentValues()
569 ClangASTType clang_type = new_value_sp->GetClangType(); in SetReturnValueObject() local
570 if (!clang_type) in SetReturnValueObject()
585 if (clang_type.IsIntegerType (is_signed) || clang_type.IsPointerType()) in SetReturnValueObject()
605 else if (clang_type.IsFloatingPointType (count, is_complex)) in SetReturnValueObject()
[all …]
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntime.cpp84 ClangASTType clang_type = value.GetClangType(); in GetObjectDescription() local
85 if (clang_type) in GetObjectDescription()
87 if (!clang_type.IsObjCObjectPointerType()) in GetObjectDescription()
/external/lldb/include/lldb/Expression/
DASTDumper.h31 ASTDumper (const ClangASTType &clang_type);

12