Changeset a935892 for src/ResolvExpr/typeops.h
- Timestamp:
- Jun 3, 2019, 10:54:01 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0e315a5, dafe9e1
- Parents:
- 043a5b6 (diff), 8d70648 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/typeops.h
r043a5b6 ra935892 18 18 #include <vector> 19 19 20 #include "AST/Fwd.hpp" 20 21 #include "AST/Node.hpp" 22 #include "AST/SymbolTable.hpp" 21 23 #include "AST/Type.hpp" 24 #include "AST/TypeEnvironment.hpp" 22 25 #include "SynTree/SynTree.h" 23 26 #include "SynTree/Type.h" … … 99 102 } 100 103 104 bool typesCompatible( 105 const ast::Type *, const ast::Type *, const ast::SymbolTable &, 106 const ast::TypeEnvironment & env = {} ); 107 108 bool typesCompatibleIgnoreQualifiers( 109 const ast::Type *, const ast::Type *, const ast::SymbolTable &, 110 const ast::TypeEnvironment & env = {} ); 111 101 112 /// creates the type represented by the list of returnVals in a FunctionType. The caller owns the return value. 102 113 Type * extractResultType( FunctionType * functionType ); … … 115 126 // in Occurs.cc 116 127 bool occurs( Type *type, std::string varName, const TypeEnvironment &env ); 128 // new AST version in TypeEnvironment.cpp (only place it was used in old AST) 117 129 118 130 template<typename Iter> … … 127 139 // in AlternativeFinder.cc 128 140 void referenceToRvalueConversion( Expression *& expr, Cost & cost ); 141 const ast::Expr * referenceToRvalueConversion( const ast::Expr * expr, Cost & cost ); 129 142 130 143 // flatten tuple type into list of types
Note: See TracChangeset
for help on using the changeset viewer.