Changeset 0522ebe for src/Validate/Autogen.cpp
- Timestamp:
- Feb 26, 2024, 3:49:23 AM (7 months ago)
- Branches:
- master
- Children:
- a4da45e
- Parents:
- c17dc80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/Autogen.cpp
rc17dc80 r0522ebe 206 206 ast::FunctionDecl * genLabelProto() const; 207 207 ast::FunctionDecl * genValueProto() const; 208 // ast::FunctionDecl * genValueProto2() const; 208 209 }; 209 210 … … 790 791 } 791 792 793 // ast::FunctionDecl * EnumFuncGenerator::genValueProto2() const { 794 // return genProto( "valueE", 795 // { new ast::ObjectDecl( getLocation(), "_i", new ast::EnumPosType( new ast::EnumInstType( decl ) ) )}, 796 // { new ast::ObjectDecl( getLocation(), "_ret", ast::deepCopy( decl->base ) ) } ); 797 // } 798 792 799 void EnumFuncGenerator::genAttrFuncForward() { 793 800 if ( decl->base ) { 794 801 ast::FunctionDecl *(EnumFuncGenerator::*attrProtos[3])() const = { 795 802 &EnumFuncGenerator::genPosProto, &EnumFuncGenerator::genLabelProto, 796 &EnumFuncGenerator::genValueProto }; 803 &EnumFuncGenerator::genValueProto 804 // , &EnumFuncGenerator::genValueProto2 805 }; 797 806 for ( auto & generator : attrProtos ) { 798 807 produceForwardDecl( (this->*generator)() );
Note: See TracChangeset
for help on using the changeset viewer.