Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Expr.hpp

    r85855b0 r9ddcee1  
    256256public:
    257257        ptr<Decl> type_decl;
    258         const std::string type_name;
    259         const std::string name;
     258        std::string name;
    260259
    261260        QualifiedNameExpr( const CodeLocation & loc, const Decl * d, const std::string & n )
    262         : Expr( loc ), type_decl( d ), type_name(""), name( n ) {}
    263 
    264         QualifiedNameExpr( const CodeLocation & loc, const std::string & type_name, const std::string & name)
    265         : Expr( loc ), type_name( type_name ), name( name ) {}
     261        : Expr( loc ), type_decl( d ), name( n ) {}
    266262
    267263        const Expr * accept( Visitor & v ) const override { return v.visit( this ); }
Note: See TracChangeset for help on using the changeset viewer.