Changeset 822332e for src/Validate
- Timestamp:
- May 30, 2024, 2:36:08 PM (7 months ago)
- Branches:
- master
- Children:
- 0f5e8cd
- Parents:
- 91b9e10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.cpp
r91b9e10 r822332e 9 9 class EnumAttrFuncGenerator { 10 10 const ast::EnumDecl* decl; 11 const ast::EnumInstType* instType;12 11 unsigned int functionNesting; 13 12 ast::Linkage::Spec proto_linkage; … … 21 20 EnumAttrFuncGenerator( 22 21 const ast::EnumDecl* decl, 23 const ast::EnumInstType* instType,22 const ast::EnumInstType*, 24 23 unsigned int functionNesting ) 25 24 : decl(decl), 26 instType{instType},27 25 functionNesting{functionNesting}, 28 26 proto_linkage{ast::Linkage::Cforall} {} … … 50 48 ast::FunctionDecl* genFromInstanceProto() const; 51 49 ast::FunctionDecl* genInstToInstFuncProto(const char* func) const; 52 void genFromIntBody(ast::FunctionDecl *) const; 50 void genFromIntBody(ast::FunctionDecl *) const; 53 51 void genFromInstanceBody(ast::FunctionDecl *) const; 54 52 void genSuccPredBody(ast::FunctionDecl *, const char *) const; … … 388 386 if (decl->base) genTypedEnumFunction(ast::EnumAttribute::Value); 389 387 genTypedEnumFunction(ast::EnumAttribute::Label); 390 genTypedEnumFunction(ast::EnumAttribute::Posn); 388 genTypedEnumFunction(ast::EnumAttribute::Posn); 391 389 } 392 390
Note: See TracChangeset
for help on using the changeset viewer.