Changeset f8b961b for src/GenPoly/ScrubTyVars.h
- Timestamp:
- Dec 3, 2015, 4:37:27 PM (9 years ago)
- 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:
- 47534159
- Parents:
- 5bf4712
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/ScrubTyVars.h
r5bf4712 rf8b961b 26 26 public: 27 27 ScrubTyVars( bool doAll, const TyVarMap &tyVars ): doAll( doAll ), tyVars( tyVars ) {} 28 28 29 /// Like scrub( SynTreeClass* ), but only applies to type variables in `tyVars` 29 30 template< typename SynTreeClass > 30 31 static SynTreeClass *scrub( SynTreeClass *target, const TyVarMap &tyVars ); 32 /// Replaces dtypes and ftypes with the appropriate void type, and sizeof expressions of polymorphic types with the proper variable 31 33 template< typename SynTreeClass > 32 34 static SynTreeClass *scrub( SynTreeClass *target );
Note: See TracChangeset
for help on using the changeset viewer.