- Timestamp:
- Apr 15, 2024, 12:45:51 PM (8 months ago)
- Branches:
- master
- Children:
- 710d0c8c, 76c7addb
- Parents:
- dc58e5d
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cc
rdc58e5d rfb2e916 597 597 } 598 598 599 void postvisit( const ast::ArrayType * arr) {}599 void postvisit( const ast::ArrayType * ) {} 600 600 601 601 void postvisit( const ast::ReferenceType * ref ) { … … 641 641 } 642 642 643 void postvisit( const ast::FunctionType * func) {}644 645 void postvisit( const ast::StructInstType * inst) {}646 647 void postvisit( const ast::UnionInstType * inst) {}643 void postvisit( const ast::FunctionType * ) {} 644 645 void postvisit( const ast::StructInstType * ) {} 646 647 void postvisit( const ast::UnionInstType * ) {} 648 648 649 649 void postvisit( const ast::EnumInstType * enumInst ) { … … 660 660 void postvisit( const ast::TypeInstType * ) {} 661 661 662 void postvisit( const ast::TupleType * tuple) {}662 void postvisit( const ast::TupleType * ) {} 663 663 664 664 void postvisit( const ast::VarArgsType * ) {} -
src/Validate/ReplacePseudoFunc.cpp
rdc58e5d rfb2e916 55 55 typedResult.strict_as<ast::ApplicationExpr>(); 56 56 return ast::deepCopy(ret); 57 } else if (auto posType = 58 argAsDecl->type.as<ast::EnumAttrType>()) { 57 } else if (argAsDecl->type.as<ast::EnumAttrType>()) { 59 58 std::cerr << "PseudoFunc: succ/pred should not be applied on EnumAttrType directly" << std::endl; 60 59 }
Note: See TracChangeset
for help on using the changeset viewer.