Changeset 822332e
- Timestamp:
- May 30, 2024, 2:36:08 PM (6 months ago)
- Branches:
- master
- Children:
- 0f5e8cd
- Parents:
- 91b9e10
- Location:
- src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
r91b9e10 r822332e 352 352 353 353 template< typename core_t > 354 friend auto __pass::make_value_guard( core_t & core, int ) -> decltype( value_guard( core.at_cleanup ) ); 354 friend auto __pass::make_value_guard( core_t & core, int ) 355 -> decltype( __pass::value_guard( core.at_cleanup ) ); 355 356 public: 356 357 -
src/AST/Pass.proto.hpp
r91b9e10 r822332e 326 326 template< typename core_t > 327 327 static inline auto make_value_guard( core_t & core, int ) 328 -> decltype( value_guard( core.at_cleanup ) ) {328 -> decltype( __pass::value_guard( core.at_cleanup ) ) { 329 329 // Requires guaranteed copy elision: 330 330 return value_guard( core.at_cleanup ); -
src/AST/Print.cpp
r91b9e10 r822332e 103 103 } 104 104 105 static const char* Names[];106 107 105 void print( const std::vector<ast::Label> & labels ) { 108 106 if ( labels.empty() ) return; -
src/ResolvExpr/CommonType.cpp
r91b9e10 r822332e 353 353 ast::AssertionSet & have; 354 354 public: 355 static size_t traceId;356 355 ast::ptr< ast::Type > result; 357 356 -
src/ResolvExpr/Unify.cpp
r91b9e10 r822332e 274 274 void previsit( const ast::Node * ) { visit_children = false; } 275 275 276 void postvisit( const ast::VoidType * vt) {277 result = dynamic_cast< const ast::VoidType * >( type2 ); 276 void postvisit( const ast::VoidType * ) { 277 result = dynamic_cast< const ast::VoidType * >( type2 ); 278 278 // || tryToUnifyWithEnumValue(vt, type2, tenv, need, have, open, noWiden()); 279 279 ; … … 610 610 } 611 611 612 void postvisit( const ast::VarArgsType * vat) {612 void postvisit( const ast::VarArgsType * ) { 613 613 result = dynamic_cast< const ast::VarArgsType * >( type2 ); 614 614 // || tryToUnifyWithEnumValue(vat, type2, tenv, need, have, open, noWiden()); 615 615 } 616 616 617 void postvisit( const ast::ZeroType * zt) {617 void postvisit( const ast::ZeroType * ) { 618 618 result = dynamic_cast< const ast::ZeroType * >( type2 ); 619 619 // || tryToUnifyWithEnumValue(zt, type2, tenv, need, have, open, noWiden()); 620 620 } 621 621 622 void postvisit( const ast::OneType * ot) {622 void postvisit( const ast::OneType * ) { 623 623 result = dynamic_cast< const ast::OneType * >( type2 ); 624 624 // || tryToUnifyWithEnumValue(ot, type2, tenv, need, have, open, noWiden()); -
src/Tuples/Tuples.hpp
r91b9e10 r822332e 22 22 #include "AST/Node.hpp" 23 23 namespace ResolvExpr { 24 classCandidateFinder;24 struct CandidateFinder; 25 25 } 26 26 -
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.