Changeset 38093ae for src/Validate/ImplementEnumFunc.cpp
- Timestamp:
- Apr 18, 2024, 8:44:24 PM (6 months ago)
- Branches:
- master
- Children:
- 19313be5, cf191ac
- Parents:
- 748c751 (diff), 7a780ad (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/Validate/ImplementEnumFunc.cpp
r748c751 r38093ae 305 305 {new ast::ObjectDecl( 306 306 getLocation(), "_ret", 307 new ast::PointerType(new ast::BasicType{ast::Basic Type::Char}))});307 new ast::PointerType(new ast::BasicType{ast::BasicKind::Char}))}); 308 308 } 309 309 … … 358 358 attr == ast::EnumAttribute::Value 359 359 ? decl->base 360 : new ast::PointerType(new ast::BasicType{ast::Basic Type::Char}),360 : new ast::PointerType(new ast::BasicType{ast::BasicKind::Char}), 361 361 ast::ConstantExpr::from_int(decl->location, decl->members.size()), 362 362 ast::LengthFlag::FixedLen, ast::DimensionFlag::DynamicDim);
Note: See TracChangeset
for help on using the changeset viewer.