- Timestamp:
- Sep 17, 2024, 10:02:38 AM (3 months ago)
- Branches:
- master
- Children:
- 59627b3
- Parents:
- e37d45e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cpp
re37d45e1 r152944e 1486 1486 ast::Expr * initValue; 1487 1487 if ( ret->isCfa && ret->base ) { 1488 initValue = new ast::CastExpr( cur->enumeratorValue->location, maybeMoveBuild( cur->consume_enumeratorValue() ),1489 1488 CodeLocation location = cur->enumeratorValue->location; 1489 initValue = new ast::CastExpr( location, maybeMoveBuild( cur->consume_enumeratorValue() ), ret->base ); 1490 1490 } else { 1491 1491 initValue = maybeMoveBuild( cur->consume_enumeratorValue() );
Note: See TracChangeset
for help on using the changeset viewer.