Changeset 647d633 for src/ResolvExpr/CommonType.cc
- Timestamp:
- Mar 6, 2024, 6:11:08 AM (6 months ago)
- Branches:
- master
- Children:
- 76fe046, 7a29392f
- Parents:
- f6e8c67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cc
rf6e8c67 r647d633 681 681 682 682 void postvisit( const ast::EnumPosType * enumPos ) { 683 if ( auto type2AsPos =dynamic_cast<const ast::EnumPosType *>(type2) ) {683 if ( dynamic_cast<const ast::EnumPosType *>(type2) ) { 684 684 // result = commonType( type2AsPos->instance, enumPos->instance, tenv, need, have, open, widen ); 685 685 result = enumPos; 686 } else if ( auto typeAsBasic =dynamic_cast<const ast::BasicType *>(type2) ) {686 } else if ( dynamic_cast<const ast::BasicType *>(type2) ) { 687 687 result = type2; 688 688 }
Note: See TracChangeset
for help on using the changeset viewer.