Lines Matching defs:clang_type
157 //printf ("copied_qual_type: ast = %p, clang_type = %p, name = '%s'\n", m_ast, copied_qual_type.getAsOpaquePtr(), external_type->GetName().GetCString());
248 CompilerType clang_type;
321 clang_type = m_ast.GetBasicType(eBasicTypeNullPtr);
328 clang_type = m_ast.GetBuiltinTypeForDWARFEncodingAndBitSize (type_name_cstr,
342 if (!clang_type && (encoding_data_type == Type::eEncodingIsPointerUID || encoding_data_type == Type::eEncodingIsTypedefUID) && sc.comp_unit != NULL)
362 clang_type = m_ast.GetBasicType(eBasicTypeObjCID);
376 clang_type = m_ast.GetBasicType(eBasicTypeObjCClass);
389 clang_type = m_ast.GetBasicType(eBasicTypeObjCSel);
413 clang_type = m_ast.GetBasicType(eBasicTypeObjCID);
432 clang_type,
727 clang_type.SetCompilerType(&m_ast, dwarf->GetForwardDeclDieToClangType().lookup (die.GetDIE()));
728 if (!clang_type)
759 clang_type = m_ast.CreateClassTemplateSpecializationType (class_specialization_decl);
770 clang_type = m_ast.CreateRecordType (decl_ctx,
782 LinkDeclContextToDIE(m_ast.GetDeclContextForType(clang_type), die);
791 clang_type,
845 ClangASTContext::StartTagDeclarationDefinition (clang_type);
846 ClangASTContext::CompleteTagDeclarationDefinition (clang_type);
850 clang::RecordDecl *record_decl = ClangASTContext::GetAsRecordDecl(clang_type);
868 ClangASTContext::StartTagDeclarationDefinition (clang_type);
875 assert(!dwarf->GetForwardDeclClangTypeToDie().count(ClangASTContext::RemoveFastQualifiers(clang_type).GetOpaqueQualType()) &&
879 dwarf->GetForwardDeclDieToClangType()[die.GetDIE()] = clang_type.GetOpaqueQualType();
880 dwarf->GetForwardDeclClangTypeToDie()[ClangASTContext::RemoveFastQualifiers(clang_type).GetOpaqueQualType()] = die.GetDIERef();
881 m_ast.SetHasExternalStorage (clang_type.GetOpaqueQualType(), true);
984 clang_type.SetCompilerType (&m_ast, dwarf->GetForwardDeclDieToClangType().lookup (die.GetDIE()));
985 if (!clang_type)
999 clang_type = m_ast.CreateEnumerationType (type_name_cstr,
1006 enumerator_clang_type = m_ast.GetEnumerationIntegerType (clang_type.GetOpaqueQualType());
1009 LinkDeclContextToDIE(ClangASTContext::GetDeclContextForType(clang_type), die);
1019 clang_type,
1022 ClangASTContext::StartTagDeclarationDefinition (clang_type);
1028 ParseChildEnumerators(cu_sc, clang_type, is_signed, type_sp->GetByteSize(), die);
1030 ClangASTContext::CompleteTagDeclarationDefinition (clang_type);
1193 // clang_type will get the function prototype clang type after this call
1194 clang_type = m_ast.CreateFunctionType (return_clang_type,
1234 clang_type,
1381 if (method_decl->getType() == ClangASTContext::GetQualType(clang_type))
1412 clang_type,
1489 clang_type,
1534 clang_type,
1612 clang_type = m_ast.CreateArrayType (array_element_type,
1615 array_element_type = clang_type;
1623 clang_type = m_ast.CreateArrayType (array_element_type, 0, is_vector);
1634 clang_type,
1672 clang_type = ClangASTContext::CreateMemberPointerType(class_clang_type, pointee_clang_type);
1674 byte_size = clang_type.GetByteSize(nullptr);
1677 LLDB_INVALID_UID, Type::eEncodingIsUID, NULL, clang_type,
1817 CompilerType clang_type;
1839 clang_type = lldb_type->GetForwardCompilerType ();
1856 if (!clang_type)
1857 clang_type = m_ast.GetBasicType(eBasicTypeVoid);
1859 if (clang_type)
1869 clang_type.IsIntegerType (is_signed) &&
1875 ClangASTContext::GetQualType(clang_type)));
1879 template_param_infos.args.push_back (clang::TemplateArgument (ClangASTContext::GetQualType(clang_type)));
1958 CompilerType &clang_type)
1962 m_ast.SetHasExternalStorage (clang_type.GetOpaqueQualType(), false);
1978 assert (clang_type);
1992 if (ClangASTContext::IsObjCObjectOrInterfaceType(clang_type))
1997 ClangASTContext::StartTagDeclarationDefinition (clang_type);
2028 clang_type,
2050 ConstString class_name (clang_type.GetTypeName());
2083 m_ast.SetTagTypeKind (ClangASTContext::GetQualType(clang_type), clang::TTK_Class);
2100 m_ast.SetDefaultAccessForRecordFields (m_ast.GetAsRecordDecl(clang_type),
2110 // with an assertion in the call to clang_type.SetBaseClassesForClassType()
2129 // call setBases() inside of "clang_type.SetBaseClassesForClassType()"
2138 m_ast.SetBaseClassesForClassType (clang_type.GetOpaqueQualType(),
2150 ClangASTContext::BuildIndirectFields (clang_type);
2151 ClangASTContext::CompleteTagDeclarationDefinition (clang_type);
2162 clang::CXXRecordDecl *record_decl = m_ast.GetAsCXXRecordDecl(clang_type.GetOpaqueQualType());
2172 "ClangASTContext::CompleteTypeFromDWARF (clang_type = %p) caching layout info for record_decl = %p, bit_size = %" PRIu64 ", alignment = %" PRIu64 ", field_offsets[%u], base_offsets[%u], vbase_offsets[%u])",
2173 static_cast<void*>(clang_type.GetOpaqueQualType()),
2188 "ClangASTContext::CompleteTypeFromDWARF (clang_type = %p) field[%u] = { bit_offset=%u, name='%s' }",
2189 static_cast<void *>(clang_type.GetOpaqueQualType()),
2202 "ClangASTContext::CompleteTypeFromDWARF (clang_type = %p) base[%u] = { byte_offset=%u, name='%s' }",
2203 clang_type.GetOpaqueQualType(), idx, (uint32_t)base_pos->second.getQuantity(),
2213 "ClangASTContext::CompleteTypeFromDWARF (clang_type = %p) vbase[%u] = { byte_offset=%u, name='%s' }",
2214 static_cast<void *>(clang_type.GetOpaqueQualType()), idx,
2227 return (bool)clang_type;
2230 ClangASTContext::StartTagDeclarationDefinition (clang_type);
2235 clang_type.IsIntegerType(is_signed);
2236 ParseChildEnumerators(sc, clang_type, is_signed, type->GetByteSize(), die);
2238 ClangASTContext::CompleteTagDeclarationDefinition (clang_type);
2239 return (bool)clang_type;
2287 lldb_private::CompilerType &clang_type,
2345 m_ast.AddEnumerationValueToEnumerationType (clang_type.GetOpaqueQualType(),
2346 m_ast.GetEnumerationIntegerType(clang_type.GetOpaqueQualType()),