Changeset e563edf for src/ResolvExpr/typeops.h
- Timestamp:
- Jan 17, 2023, 11:57:46 AM (21 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 7b5694d
- Parents:
- 9845cb6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/typeops.h
r9845cb6 re563edf 107 107 const ast::Type * src, const ast::Type * dst, const ast::SymbolTable & symtab, 108 108 const ast::TypeEnvironment & env ); 109 110 // in Unify.cc111 bool typesCompatible( const Type *, const Type *, const SymTab::Indexer & indexer, const TypeEnvironment & env );112 bool typesCompatibleIgnoreQualifiers( const Type *, const Type *, const SymTab::Indexer & indexer, const TypeEnvironment & env );113 114 inline bool typesCompatible( const Type * t1, const Type * t2, const SymTab::Indexer & indexer ) {115 TypeEnvironment env;116 return typesCompatible( t1, t2, indexer, env );117 }118 119 inline bool typesCompatibleIgnoreQualifiers( const Type * t1, const Type * t2, const SymTab::Indexer & indexer ) {120 TypeEnvironment env;121 return typesCompatibleIgnoreQualifiers( t1, t2, indexer, env );122 }123 124 bool typesCompatible(125 const ast::Type *, const ast::Type *, const ast::SymbolTable & symtab = {},126 const ast::TypeEnvironment & env = {} );127 128 bool typesCompatibleIgnoreQualifiers(129 const ast::Type *, const ast::Type *, const ast::SymbolTable &,130 const ast::TypeEnvironment & env = {} );131 109 132 110 /// creates the type represented by the list of returnVals in a FunctionType. The caller owns the return value.
Note: See TracChangeset
for help on using the changeset viewer.