Changeset bed4d37c


Ignore:
Timestamp:
Feb 12, 2016, 2:16:51 PM (8 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
5c52b06
Parents:
cce7872
Message:

Improve member expression finding routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    rcce7872 rbed4d37c  
    13441344
    13451345                                if ( DeclarationWithType *declWithType = dynamic_cast< DeclarationWithType* >( *decl ) ) {
    1346                                         if ( memberDecl->get_mangleName() == declWithType->get_mangleName() ) return i;
     1346                                        if ( memberDecl->get_mangleName().empty() || declWithType->get_mangleName().empty()
     1347                                             || memberDecl->get_mangleName() == declWithType->get_mangleName() ) return i;
    13471348                                        else continue;
    13481349                                } else return i;
Note: See TracChangeset for help on using the changeset viewer.