- Timestamp:
- Apr 15, 2024, 2:19:45 PM (8 months ago)
- Branches:
- master
- Children:
- cdb4eaa
- Parents:
- fb2e916
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.cpp
rfb2e916 r76c7addb 156 156 const ast::ObjectDecl* dstParam, 157 157 const ast::ObjectDecl* srcParam) { 158 // const CodeLocation& location = func->location;159 // auto& params = func->params;160 // assert(2 == params.size());161 // auto dstParam = params.front().strict_as<ast::ObjectDecl>();162 // auto srcParam = params.back().strict_as<ast::ObjectDecl>();163 158 return new ast::CompoundStmt( 164 159 location, … … 440 435 441 436 auto addOneExpr = ast::UntypedExpr::createCall( location, 442 "?+?",437 succ? "?+?": "?-?", 443 438 {new ast::VariableExpr(location, param), 444 439 ast::ConstantExpr::from_int(location, 1)}
Note: See TracChangeset
for help on using the changeset viewer.