Lines Matching full:udt

60   llvm_unreachable("unsuported PDB UDT type");
239 llvm_unreachable("unsupported PDB UDT type");
242 static AccessType GetAccessibilityForUdt(const PDBSymbolTypeUDT &udt) {
243 AccessType access = TranslateMemberAccess(udt.getAccess());
244 if (access != lldb::eAccessNone || !udt.isNested())
247 auto parent = udt.getClassParent();
259 GetMSInheritance(const PDBSymbolTypeUDT &udt) {
263 auto bases_enum = udt.findAllChildren<PDBSymbolTypeBaseClass>();
290 case PDB_SymType::UDT:
382 case PDB_SymType::UDT: {
383 auto udt = llvm::dyn_cast<PDBSymbolTypeUDT>(&type);
384 assert(udt);
386 // Note that, unnamed UDT being typedef-ed is generated as a UDT symbol
389 // is generated as a named UDT in PDB:
393 // Some UDT with trival ctor has zero length. Just ignore.
394 if (udt->getLength() == 0)
399 std::string(MSVCUndecoratedNameParser::DropScope(udt->getName()));
405 // Check if such an UDT already exists in the current context.
413 auto access = GetAccessibilityForUdt(*udt);
415 auto tag_type_kind = TranslateUdtKind(udt->getUdtKind());
432 m_ast.getASTContext(), GetMSInheritance(*udt));
437 auto children = udt->findAllChildren();
439 // PDB does not have symbol of forwarder. We assume we get an udt w/o
460 if (udt->isConstType())
463 if (udt->isVolatileType())
468 type.getSymIndexId(), ConstString(name), udt->getLength(), nullptr,
686 // If element type is UDT, it needs to be complete.
822 case PDB_SymType::UDT: {
823 auto udt = llvm::dyn_cast<PDBSymbolTypeUDT>(symbol.get());
824 if (!udt)
827 return CompleteTypeFromUDT(*symbol_file, compiler_type, *udt);
1203 llvm::pdb::PDBSymbolTypeUDT &udt) {
1205 layout_info.bit_size = udt.getLength() * 8;
1207 auto nested_enums = udt.findAllChildren<PDBSymbolTypeUDT>();
1212 auto bases_enum = udt.findAllChildren<PDBSymbolTypeBaseClass>();
1215 TranslateUdtKind(udt.getUdtKind()), *bases_enum,
1218 auto members_enum = udt.findAllChildren<PDBSymbolData>();
1222 auto methods_enum = udt.findAllChildren<PDBSymbolFunc>();