Ignore:
Timestamp:
Oct 19, 2017, 11:15:35 AM (6 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:
6fc5c14
Parents:
84733c1
git-author:
Rob Schluntz <rschlunt@…> (10/17/17 10:25:17)
git-committer:
Rob Schluntz <rschlunt@…> (10/19/17 11:15:35)
Message:

Add support for TypeSubstitution? in PassVisitor?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/TypeSubstitution.h

    r84733c1 r447c356  
    5959        void normalize();
    6060
    61         TypeSubstitution * acceptMutator( Mutator & mutator );
     61        TypeSubstitution * acceptMutator( Mutator & m ) { return m.mutate( this ); }
    6262
    6363        void print( std::ostream &os, Indenter indent = {} ) const;
     
    8989
    9090        void initialize( const TypeSubstitution &src, TypeSubstitution &dest );
     91
     92        friend class Mutator;
     93
     94        template<typename pass_type>
     95        friend class PassVisitor;
    9196
    9297        typedef std::map< std::string, Type* > TypeEnvType;
Note: See TracChangeset for help on using the changeset viewer.