Changeset d60ccbf for src/SynTree/TypeSubstitution.h
- Timestamp:
- Aug 12, 2015, 2:27:31 PM (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, with_gc
- Children:
- f32c7f4
- Parents:
- e45215c (diff), e869d663 (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
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/TypeSubstitution.h
re45215c rd60ccbf 157 157 } 158 158 159 // helper function 159 /// Instantiate each member of the context given the actual parameters specified, and store the 160 /// instantiations for use by the indexer 160 161 template< typename FormalIterator, typename ActualIterator, typename MemberIterator, typename OutputIterator > 161 162 void applySubstitution( FormalIterator formalBegin, FormalIterator formalEnd, ActualIterator actual, MemberIterator memberBegin, MemberIterator memberEnd, OutputIterator out ) { 162 // Instantiate each member of the context given the actual parameters specified, and store the163 // instantiations for use by the indexer164 165 163 TypeSubstitution sub = TypeSubstitution( formalBegin, formalEnd, actual ); 166 164 for ( std::list< Declaration* >::iterator i = memberBegin; i != memberEnd; ++i ) {
Note:
See TracChangeset
for help on using the changeset viewer.