Error TypeDumpVisitor::visitKnownMember(CVMemberRecord &CVR, EnumeratorRecord &Enum) { printMemberAttributes(Enum.getAccess(), MethodKind::Vanilla, MethodOptions::None); W->printNumber("EnumValue", Enum.getValue()); W->printString("Name", Enum.getName()); return Error::success(); }
void CVTypeDumperImpl::visitEnumerator(TypeLeafKind Leaf, EnumeratorRecord &Enum) { DictScope S(W, "Enumerator"); printMemberAttributes(Enum.getAccess(), MethodKind::Vanilla, MethodOptions::None); W.printNumber("EnumValue", Enum.getValue()); W.printString("Name", Enum.getName()); Name = Enum.getName(); }