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