Changeset 000b914 for src/GenPoly/ScrubTyVars.h
- Timestamp:
- Dec 7, 2015, 11:31:53 AM (10 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, stuck-waitfor-destruct, with_gc
- Children:
- baf7fee
- Parents:
- e58be8e (diff), 47534159 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/GenPoly/ScrubTyVars.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/ScrubTyVars.h
re58be8e r000b914 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.