Changes in src/GenPoly/GenPoly.h [d76c588:ae1b9ea]
- File:
-
- 1 edited
-
src/GenPoly/GenPoly.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/GenPoly.h
rd76c588 rae1b9ea 20 20 21 21 #include "ErasableScopedMap.h" // for ErasableScopedMap 22 #include "AST/Fwd.hpp"23 22 #include "SymTab/Mangler.h" // for Mangler 24 23 #include "SynTree/Declaration.h" // for TypeDecl::Data, AggregateDecl, Type... … … 73 72 /// Returns a pointer to the base FunctionType if ty is the type of a function (or pointer to one), NULL otherwise 74 73 FunctionType *getFunctionType( Type *ty ); 75 const ast::FunctionType * getFunctionType( const ast::Type * ty );76 74 77 75 /// If expr (after dereferencing N >= 0 pointers) is a variable expression, returns the variable expression, NULL otherwise; … … 83 81 84 82 /// true if arg requires boxing given exprTyVars 85 bool needsBoxing( Type * param, Type * arg, const TyVarMap &exprTyVars, constTypeSubstitution * env );83 bool needsBoxing( Type * param, Type * arg, const TyVarMap &exprTyVars, TypeSubstitution * env ); 86 84 87 85 /// true if arg requires boxing in the call to appExpr 88 bool needsBoxing( Type * param, Type * arg, ApplicationExpr * appExpr, constTypeSubstitution * env );86 bool needsBoxing( Type * param, Type * arg, ApplicationExpr * appExpr, TypeSubstitution * env ); 89 87 90 88 /// Adds the type variable `tyVar` to `tyVarMap`
Note:
See TracChangeset
for help on using the changeset viewer.