Changeset 332e93a for src/Parser
- Timestamp:
- Feb 4, 2025, 9:18:54 PM (11 months ago)
- Branches:
- master
- Children:
- 090b076
- Parents:
- 985ff5f (diff), 1ee74df (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
-
src/Parser/TypeData.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cpp
r985ff5f r332e93a 1482 1482 object->isHidden = ast::EnumDecl::EnumHiding::Hide == ret->hide; 1483 1483 object->isMember = true; 1484 if ( ret->is Opaque() && cur->has_enumeratorValue() ) {1484 if ( ret->is_opaque_enum() && cur->has_enumeratorValue() ) { 1485 1485 SemanticError( td->location, "Opague cannot have an explicit initializer value." ); 1486 1486 } else if ( cur->has_enumeratorValue() ) { 1487 1487 ast::Expr * initValue; 1488 if ( ret->is Cfa && ret->base) {1488 if ( ret->is_typed_enum() ) { 1489 1489 CodeLocation location = cur->enumeratorValue->location; 1490 1490 initValue = new ast::CastExpr( location, maybeMoveBuild( cur->consume_enumeratorValue() ), ret->base );
Note:
See TracChangeset
for help on using the changeset viewer.