Changeset 9ddcee1 for src/ResolvExpr/ConversionCost.cc
- Timestamp:
- Feb 1, 2024, 5:13:04 PM (7 months ago)
- Branches:
- master
- Children:
- 020fa10
- Parents:
- 496ffc17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.cc
r496ffc17 r9ddcee1 361 361 } 362 362 363 void ConversionCost::postvisit( const ast::EnumInstType * enumInstType ) { 364 // const ast::EnumDecl * baseEnum = enumInstType->base; 365 // if ( const ast::Type * baseType = baseEnum->base ) { 366 // costCalc( baseType, dst, srcIsLvalue, symtab, env ); 367 // } else { 363 void ConversionCost::postvisit( const ast::EnumInstType * ) { 368 364 static ast::ptr<ast::BasicType> integer = { new ast::BasicType( ast::BasicType::SignedInt ) }; 369 365 cost = costCalc( integer, dst, srcIsLvalue, symtab, env );
Note: See TracChangeset
for help on using the changeset viewer.