Changeset 822332e for src/ResolvExpr
- Timestamp:
- May 30, 2024, 2:36:08 PM (11 months ago)
- Branches:
- master
- Children:
- 0f5e8cd
- Parents:
- 91b9e10
- Location:
- src/ResolvExpr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/ResolvExpr/CommonType.cpp ¶
r91b9e10 r822332e 353 353 ast::AssertionSet & have; 354 354 public: 355 static size_t traceId;356 355 ast::ptr< ast::Type > result; 357 356 -
TabularUnified src/ResolvExpr/Unify.cpp ¶
r91b9e10 r822332e 274 274 void previsit( const ast::Node * ) { visit_children = false; } 275 275 276 void postvisit( const ast::VoidType * vt) {277 result = dynamic_cast< const ast::VoidType * >( type2 ); 276 void postvisit( const ast::VoidType * ) { 277 result = dynamic_cast< const ast::VoidType * >( type2 ); 278 278 // || tryToUnifyWithEnumValue(vt, type2, tenv, need, have, open, noWiden()); 279 279 ; … … 610 610 } 611 611 612 void postvisit( const ast::VarArgsType * vat) {612 void postvisit( const ast::VarArgsType * ) { 613 613 result = dynamic_cast< const ast::VarArgsType * >( type2 ); 614 614 // || tryToUnifyWithEnumValue(vat, type2, tenv, need, have, open, noWiden()); 615 615 } 616 616 617 void postvisit( const ast::ZeroType * zt) {617 void postvisit( const ast::ZeroType * ) { 618 618 result = dynamic_cast< const ast::ZeroType * >( type2 ); 619 619 // || tryToUnifyWithEnumValue(zt, type2, tenv, need, have, open, noWiden()); 620 620 } 621 621 622 void postvisit( const ast::OneType * ot) {622 void postvisit( const ast::OneType * ) { 623 623 result = dynamic_cast< const ast::OneType * >( type2 ); 624 624 // || tryToUnifyWithEnumValue(ot, type2, tenv, need, have, open, noWiden());
Note: See TracChangeset
for help on using the changeset viewer.