Changeset 5c6d439
- Timestamp:
- Sep 9, 2024, 3:37:48 PM (5 weeks ago)
- Branches:
- master
- Children:
- b6f2e7ab
- Parents:
- a7efc96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cpp
ra7efc96 r5c6d439 1476 1476 } else if ( cur->has_enumeratorValue() ) { 1477 1477 ast::Expr * initValue; 1478 if (ret->isCfa && ret->base) { 1479 initValue = new ast::CastExpr( cur->enumeratorValue->location, maybeMoveBuild( cur->consume_enumeratorValue() ), ret->base ); 1478 if ( ret->isCfa && ret->base ) { 1479 CodeLocation location = cur->enumeratorValue->location; 1480 initValue = new ast::CastExpr( location, maybeMoveBuild( cur->consume_enumeratorValue() ), ret->base ); 1480 1481 } else { 1481 1482 initValue = maybeMoveBuild( cur->consume_enumeratorValue() );
Note: See TracChangeset
for help on using the changeset viewer.