Ignore:
Timestamp:
Apr 11, 2023, 12:48:03 PM (16 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
5541a44e
Parents:
9921573
Message:

Clean-up in parser. ClauseNode? rework, plus internal adjustments to reduce extra code and unchecked casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    r9921573 r6611177  
    10031003}
    10041004
    1005 void buildList( const DeclarationNode * firstNode,
     1005void buildList( DeclarationNode * firstNode,
    10061006                std::vector<ast::ptr<ast::Decl>> & outputList ) {
    10071007        SemanticErrorException errors;
     
    11361136
    11371137// currently only builds assertions, function parameters, and return values
    1138 void buildList( const DeclarationNode * firstNode, std::vector<ast::ptr<ast::DeclWithType>> & outputList ) {
     1138void buildList( DeclarationNode * firstNode, std::vector<ast::ptr<ast::DeclWithType>> & outputList ) {
    11391139        SemanticErrorException errors;
    11401140        std::back_insert_iterator<std::vector<ast::ptr<ast::DeclWithType>>> out( outputList );
Note: See TracChangeset for help on using the changeset viewer.