Changes in src/GenPoly/FindFunction.cc [843054c2:b4cd03b7]
- File:
-
- 1 edited
-
src/GenPoly/FindFunction.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/FindFunction.cc
r843054c2 rb4cd03b7 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FindFunction.cc -- 7 // FindFunction.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Tue May 19 07:35:48 201513 // Update Count : 111 // Last Modified By : Rob Schluntz 12 // Last Modified On : Fri Feb 05 12:22:20 2016 13 // Update Count : 6 14 14 // 15 15 … … 19 19 #include "SynTree/Visitor.h" 20 20 21 #include "ScrubTyVars.h" 22 21 23 namespace GenPoly { 22 24 class FindFunction : public Mutator { 23 25 public: 24 26 FindFunction( std::list< FunctionType* > &functions, const TyVarMap &tyVars, bool replaceMode, FindFunctionPredicate predicate ); 25 27 26 28 virtual Type *mutate( FunctionType *functionType ); 27 29 virtual Type *mutate( PointerType *pointerType ); … … 66 68 functions.push_back( functionType ); 67 69 if ( replaceMode ) { 68 ret = new FunctionType( Type::Qualifiers(), true ); 70 // replace type parameters in function type with void* 71 ret = ScrubTyVars::scrub( functionType->clone(), tyVars ); 69 72 } // if 70 73 } // if
Note:
See TracChangeset
for help on using the changeset viewer.