source: translator/GenPoly/GenPoly.h@ c8ffe20b

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since c8ffe20b was 51b73452, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago

initial commit

  • Property mode set to 100644
File size: 557 bytes
RevLine 
[51b73452]1/*
2 * This file is part of the Cforall project
3 *
4 * $Id: GenPoly.h,v 1.4 2005/08/29 20:14:13 rcbilson Exp $
5 *
6 */
7
8#include <map>
9#include <string>
10#include <iostream>
11#include "SynTree/Declaration.h"
12
13namespace GenPoly {
14
15typedef std::map< std::string, TypeDecl::Kind > TyVarMap;
16
17bool needsAdapter( FunctionType *adaptee, const TyVarMap &tyVars );
18bool isPolyFun( FunctionType *fun, const TyVarMap &tyVars );
19bool isPolyVal( Type *type, const TyVarMap &tyVars );
20void printTyVarMap( std::ostream &os, const TyVarMap &tyVarMap );
21
22} // namespace GenPoly
Note: See TracBrowser for help on using the repository browser.