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