source: translator/GenPoly/FindFunction.h @ 0b8cd722

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 0b8cd722 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 645 bytes
RevLine 
[51b7345]1/*
2 * This file is part of the Cforall project
3 *
4 * $Id: FindFunction.h,v 1.4 2005/08/29 20:14:13 rcbilson Exp $
5 *
6 */
7
8#ifndef FINDFUNCTION_H
9#define FINDFUNCTION_H
10
11#include "SynTree/SynTree.h"
12#include "GenPoly.h"
13
14namespace GenPoly {
15
16typedef bool (*FindFunctionPredicate)( FunctionType*, const TyVarMap& );
17
18void findFunction( Type *type, std::list< FunctionType* > &functions, const TyVarMap &tyVars, FindFunctionPredicate predicate );
19void findAndReplaceFunction( Type *&type, std::list< FunctionType* > &functions, const TyVarMap &tyVars, FindFunctionPredicate predicate );
20
21} // namespace GenPoly
22
23#endif /* #ifndef FINDFUNCTION_H */
Note: See TracBrowser for help on using the repository browser.