Changes in / [55c97e4:7042c60]
- File:
-
- 1 edited
-
src/Validate/ImplementEnumFunc.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.cpp
r55c97e4 r7042c60 289 289 290 290 ast::FunctionDecl* EnumAttrFuncGenerator::genPosnProto() const { 291 return genProto(292 "posE",293 {new ast::ObjectDecl(getLocation(), "_i", new ast::EnumInstType(decl))},294 {new ast::ObjectDecl(getLocation(), "_ret",295 new ast::BasicType(ast::BasicKind::UnsignedInt))});291 return genProto( 292 "posE", 293 {new ast::ObjectDecl(getLocation(), "_i", new ast::EnumInstType(decl))}, 294 {new ast::ObjectDecl(getLocation(), "_ret", 295 new ast::BasicType(ast::BasicKind::UnsignedInt))}); 296 296 } 297 297
Note:
See TracChangeset
for help on using the changeset viewer.