Changeset f465f0e for src/SymTab


Ignore:
Timestamp:
May 1, 2018, 2:43:01 PM (7 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, with_gc
Children:
779a4a3
Parents:
a02842f
Message:

Mangle trait instances to prevent indexer errors before traits are expanded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cc

    ra02842f rf465f0e  
    5555                                void postvisit( EnumInstType * aggregateUseType );
    5656                                void postvisit( TypeInstType * aggregateUseType );
     57                                void postvisit( TraitInstType * inst );
    5758                                void postvisit( TupleType * tupleType );
    5859                                void postvisit( VarArgsType * varArgsType );
     
    278279                                        mangleName << numStream.str();
    279280                                } // if
     281                        }
     282
     283                        void Mangler::postvisit( TraitInstType * inst ) {
     284                                printQualifiers( inst );
     285                                mangleName << "_Y" << inst->name << "_";
    280286                        }
    281287
Note: See TracChangeset for help on using the changeset viewer.