Changeset 8a930c03 for src/ResolvExpr/Unify.h
- Timestamp:
- Jun 12, 2023, 12:05:58 PM (3 years ago)
- Branches:
- master
- Children:
- fec8bd1
- Parents:
- 2b78949 (diff), 38e266ca (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
-
src/ResolvExpr/Unify.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Unify.h
r2b78949 r8a930c03 59 59 const ast::ptr<ast::Type> & type1, const ast::ptr<ast::Type> & type2, 60 60 ast::TypeEnvironment & env, ast::AssertionSet & need, ast::AssertionSet & have, 61 ast::OpenVarSet & open , const ast::SymbolTable & symtab);61 ast::OpenVarSet & open ); 62 62 63 63 bool unify( 64 64 const ast::ptr<ast::Type> & type1, const ast::ptr<ast::Type> & type2, 65 65 ast::TypeEnvironment & env, ast::AssertionSet & need, ast::AssertionSet & have, 66 ast::OpenVarSet & open, const ast::SymbolTable & symtab,ast::ptr<ast::Type> & common );66 ast::OpenVarSet & open, ast::ptr<ast::Type> & common ); 67 67 68 68 bool unifyExact( 69 69 const ast::Type * type1, const ast::Type * type2, ast::TypeEnvironment & env, 70 70 ast::AssertionSet & need, ast::AssertionSet & have, const ast::OpenVarSet & open, 71 WidenMode widen , const ast::SymbolTable & symtab);71 WidenMode widen ); 72 72 73 73 bool unifyInexact( 74 74 const ast::ptr<ast::Type> & type1, const ast::ptr<ast::Type> & type2, 75 75 ast::TypeEnvironment & env, ast::AssertionSet & need, ast::AssertionSet & have, 76 const ast::OpenVarSet & open, WidenMode widen, const ast::SymbolTable & symtab,76 const ast::OpenVarSet & open, WidenMode widen, 77 77 ast::ptr<ast::Type> & common ); 78 78 79 79 bool typesCompatible( 80 const ast::Type *, const ast::Type *, const ast::SymbolTable & symtab = {},80 const ast::Type *, const ast::Type *, 81 81 const ast::TypeEnvironment & env = {} ); 82 82 83 83 bool typesCompatibleIgnoreQualifiers( 84 const ast::Type *, const ast::Type *, const ast::SymbolTable & symtab = {},84 const ast::Type *, const ast::Type *, 85 85 const ast::TypeEnvironment & env = {} ); 86 86
Note:
See TracChangeset
for help on using the changeset viewer.