Changeset 7a780ad for src/Validate/ImplementEnumFunc.cpp
- Timestamp:
- Apr 18, 2024, 5:19:17 PM (6 months ago)
- Branches:
- master
- Children:
- 38093ae
- Parents:
- 60c5b6d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.cpp
r60c5b6d r7a780ad 311 311 {new ast::ObjectDecl( 312 312 getLocation(), "_ret", 313 new ast::PointerType(new ast::BasicType{ast::Basic Type::Char}))});313 new ast::PointerType(new ast::BasicType{ast::BasicKind::Char}))}); 314 314 } 315 315 … … 364 364 attr == ast::EnumAttribute::Value 365 365 ? decl->base 366 : new ast::PointerType(new ast::BasicType{ast::Basic Type::Char}),366 : new ast::PointerType(new ast::BasicType{ast::BasicKind::Char}), 367 367 ast::ConstantExpr::from_int(decl->location, decl->members.size()), 368 368 ast::LengthFlag::FixedLen, ast::DimensionFlag::DynamicDim);
Note: See TracChangeset
for help on using the changeset viewer.