Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/FindFunction.cc

    rb4cd03b7 r843054c2  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // FindFunction.cc --
     7// FindFunction.cc -- 
    88//
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Fri Feb 05 12:22:20 2016
    13 // Update Count     : 6
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue May 19 07:35:48 2015
     13// Update Count     : 1
    1414//
    1515
     
    1919#include "SynTree/Visitor.h"
    2020
    21 #include "ScrubTyVars.h"
    22 
    2321namespace GenPoly {
    2422        class FindFunction : public Mutator {
    2523          public:
    2624                FindFunction( std::list< FunctionType* > &functions, const TyVarMap &tyVars, bool replaceMode, FindFunctionPredicate predicate );
    27 
     25 
    2826                virtual Type *mutate( FunctionType *functionType );
    2927                virtual Type *mutate( PointerType *pointerType );
     
    6866                        functions.push_back( functionType );
    6967                        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 );
    7269                        } // if
    7370                } // if
Note: See TracChangeset for help on using the changeset viewer.