Beispiel #1
0
void CVTypeDumperImpl::visitOneMethod(TypeLeafKind Leaf,
                                      OneMethodRecord &Method) {
    DictScope S(W, "OneMethod");
    MethodKind K = Method.getKind();
    printMemberAttributes(Method.getAccess(), K, Method.getOptions());
    printTypeIndex("Type", Method.getType());
    // If virtual, then read the vftable offset.
    if (Method.isIntroducingVirtual())
        W.printHex("VFTableOffset", Method.getVFTableOffset());
    W.printString("Name", Method.getName());
    Name = Method.getName();
}