Changeset 96a10cd


Ignore:
Timestamp:
Sep 14, 2016, 10:19:48 AM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
1eba452, 906e24d
Parents:
d88f256a
Message:

fix assertion failure on calling a member function pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.cc

    rd88f256a r96a10cd  
    387387                        } else if ( MemberExpr * memberExpr = dynamic_cast< MemberExpr * >( func ) ) {
    388388                                return memberExpr->get_member()->get_name();
     389                        } else if ( UntypedMemberExpr * memberExpr = dynamic_cast< UntypedMemberExpr * > ( func ) ) {
     390                                return memberExpr->get_member();
    389391                        } else {
    390392                                assertf( false, "Unexpected expression type being called as a function in call expression" );
Note: See TracChangeset for help on using the changeset viewer.