Changeset d1fbc56e for src/AST


Ignore:
Timestamp:
Aug 23, 2024, 2:04:50 PM (2 days ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
26ee4b5
Parents:
45ee172
Message:

Removed two lingering set_extension functions from ast. There was one use each in the parser, which uses get/set functions still.

Location:
src/AST
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    r45ee172 rd1fbc56e  
    5050        : ParseNode( loc ), name( name ), storage( storage ), linkage( linkage ) {}
    5151
    52         Decl* set_extension( bool ex ) { extension = ex; return this; }
    53 
    5452        /// Ensures this node has a unique ID
    5553        void fixUniqueId();
  • src/AST/Expr.hpp

    r45ee172 rd1fbc56e  
    187187        : ParseNode( loc ), result( res ), env(), inferred() {}
    188188
    189         Expr * set_extension( bool ex ) { extension = ex; return this; }
    190189        virtual bool get_lvalue() const;
    191190
Note: See TracChangeset for help on using the changeset viewer.