Changeset 2f42718 for src/GenPoly/FindFunction.h
- Timestamp:
- Feb 22, 2019, 10:43:29 AM (5 years ago)
- Branches:
- no_list
- Parents:
- 43e0949
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/FindFunction.h
r43e0949 r2f42718 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FindFunction.h -- 7 // FindFunction.h -- 8 8 // 9 9 // Author : Richard C. Bilson … … 27 27 28 28 /// recursively walk `type`, placing all functions that match `predicate` under `tyVars` into `functions` 29 void findFunction( Type *type, std:: list< FunctionType* > &functions, const TyVarMap &tyVars, FindFunctionPredicate predicate );29 void findFunction( Type *type, std::vector< FunctionType* > & functions, const TyVarMap &tyVars, FindFunctionPredicate predicate ); 30 30 /// like `findFunction`, but also replaces the function type with void ()(void) 31 void findAndReplaceFunction( Type *&type, std:: list< FunctionType* > &functions, const TyVarMap &tyVars, FindFunctionPredicate predicate );31 void findAndReplaceFunction( Type *&type, std::vector< FunctionType* > & functions, const TyVarMap &tyVars, FindFunctionPredicate predicate ); 32 32 } // namespace GenPoly 33 33
Note: See TracChangeset
for help on using the changeset viewer.