Changeset 830edc6 for src/Validate
- Timestamp:
- Aug 5, 2024, 4:42:46 PM (12 hours ago)
- Branches:
- master
- Children:
- 0e6cf54c
- Parents:
- 7f18438
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.cpp
r7f18438 r830edc6 148 148 } else { 149 149 auto untypedThisInit = new ast::UntypedExpr( 150 getLocation(), new ast::NameExpr(getLocation(), "?++"), 151 {prevInitExpr}); 150 getLocation(), new ast::NameExpr(getLocation(), "?+?"), 151 { prevInitExpr, 152 new ast::ConstantExpr( getLocation(), new ast::OneType, "1", 1) }); 152 153 return new ast::SingleInit(getLocation(), untypedThisInit); 153 154 }
Note: See TracChangeset
for help on using the changeset viewer.