Changeset 8c79dc3c for src/Parser
- Timestamp:
- Sep 14, 2024, 5:08:21 PM (13 months ago)
- Branches:
- master
- Children:
- 17fdf6f
- Parents:
- dcfcf368 (diff), 5ef4008 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cpp
rdcfcf368 r8c79dc3c 1457 1457 assert( td->kind == TypeData::Aggregate ); 1458 1458 assert( td->aggregate.kind == ast::AggregateDecl::Enum ); 1459 ast::ptr<ast::Type> baseType = td->base ? typebuild(td->base) : nullptr; 1460 1459 ast::ptr<ast::Type> baseType; 1460 if ( td->base ) { 1461 if ( td->base->kind == TypeData::Aggregate ) { 1462 baseType = buildComAggInst( td->base, copy(attributes), linkage ); 1463 } else { 1464 baseType = typebuild( td->base ); 1465 } 1466 } 1461 1467 ast::EnumDecl * ret = new ast::EnumDecl( 1462 1468 td->location,
Note:
See TracChangeset
for help on using the changeset viewer.