void CVTypeDumperImpl::visitOverloadedMethod(TypeLeafKind Leaf, OverloadedMethodRecord &Method) { DictScope S(W, "OverloadedMethod"); W.printHex("MethodCount", Method.getNumOverloads()); printTypeIndex("MethodListIndex", Method.getMethodList()); W.printString("Name", Method.getName()); Name = Method.getName(); }
Error TypeDumpVisitor::visitKnownMember(CVMemberRecord &CVR, OverloadedMethodRecord &Method) { W->printHex("MethodCount", Method.getNumOverloads()); printTypeIndex("MethodListIndex", Method.getMethodList()); W->printString("Name", Method.getName()); return Error::success(); }