Error TypeDumpVisitor::visitKnownMember(CVMemberRecord &CVR, DataMemberRecord &Field) { printMemberAttributes(Field.getAccess(), MethodKind::Vanilla, MethodOptions::None); printTypeIndex("Type", Field.getType()); W->printHex("FieldOffset", Field.getFieldOffset()); W->printString("Name", Field.getName()); return Error::success(); }
void CVTypeDumperImpl::visitDataMember(TypeLeafKind Leaf, DataMemberRecord &Field) { DictScope S(W, "DataMember"); printMemberAttributes(Field.getAccess(), MethodKind::Vanilla, MethodOptions::None); printTypeIndex("Type", Field.getType()); W.printHex("FieldOffset", Field.getFieldOffset()); W.printString("Name", Field.getName()); Name = Field.getName(); }