Changeset 68f9c43 for src/SynTree/Type.h


Ignore:
Timestamp:
Mar 16, 2018, 5:15:02 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
8d7bef2
Parents:
6171841
git-author:
Aaron Moss <a3moss@…> (03/16/18 17:04:24)
git-committer:
Aaron Moss <a3moss@…> (03/16/18 17:15:02)
Message:

First pass at delete removal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    r6171841 r68f9c43  
    141141        Type( const Qualifiers & tq, const std::list< Attribute * > & attributes );
    142142        Type( const Type & other );
    143         virtual ~Type();
    144143
    145144        Qualifiers & get_qualifiers() { return tq; }
     
    261260        PointerType( const Type::Qualifiers & tq, Type *base, Expression *dimension, bool isVarLen, bool isStatic, const std::list< Attribute * > & attributes = std::list< Attribute * >() );
    262261        PointerType( const PointerType& );
    263         virtual ~PointerType();
    264262
    265263        Type *get_base() { return base; }
     
    291289        ArrayType( const Type::Qualifiers & tq, Type *base, Expression *dimension, bool isVarLen, bool isStatic, const std::list< Attribute * > & attributes = std::list< Attribute * >() );
    292290        ArrayType( const ArrayType& );
    293         virtual ~ArrayType();
    294291
    295292        Type *get_base() { return base; }
     
    319316        ReferenceType( const Type::Qualifiers & tq, Type *base, const std::list< Attribute * > & attributes = std::list< Attribute * >() );
    320317        ReferenceType( const ReferenceType & );
    321         virtual ~ReferenceType();
    322318
    323319        Type *get_base() { return base; }
     
    352348        FunctionType( const Type::Qualifiers & tq, bool isVarArgs, const std::list< Attribute * > & attributes = std::list< Attribute * >() );
    353349        FunctionType( const FunctionType& );
    354         virtual ~FunctionType();
    355350
    356351        std::list<DeclarationWithType*> & get_returnVals() { return returnVals; }
     
    376371        ReferenceToType( const Type::Qualifiers & tq, const std::string & name, const std::list< Attribute * > & attributes );
    377372        ReferenceToType( const ReferenceToType & other );
    378         virtual ~ReferenceToType();
    379373
    380374        const std::string & get_name() const { return name; }
     
    503497        TraitInstType( const Type::Qualifiers & tq, TraitDecl * baseTrait, const std::list< Attribute * > & attributes = std::list< Attribute * >() );
    504498        TraitInstType( const TraitInstType & other );
    505         ~TraitInstType();
    506499
    507500        virtual bool isComplete() const override;
     
    525518        TypeInstType( const Type::Qualifiers & tq, const std::string & name, bool isFtype, const std::list< Attribute * > & attributes = std::list< Attribute * >()  );
    526519        TypeInstType( const TypeInstType & other );
    527         ~TypeInstType();
    528520
    529521        TypeDecl *get_baseType() const { return baseType; }
     
    549541        TupleType( const Type::Qualifiers & tq, const std::list< Type * > & types, const std::list< Attribute * > & attributes = std::list< Attribute * >()  );
    550542        TupleType( const TupleType& );
    551         virtual ~TupleType();
    552543
    553544        typedef std::list<Type*> value_type;
     
    583574        TypeofType( const Type::Qualifiers & tq, Expression *expr, const std::list< Attribute * > & attributes = std::list< Attribute * >()  );
    584575        TypeofType( const TypeofType& );
    585         virtual ~TypeofType();
    586576
    587577        Expression *get_expr() const { return expr; }
     
    606596        AttrType( const Type::Qualifiers & tq, const std::string & name, Type *type, const std::list< Attribute * > & attributes = std::list< Attribute * >()  );
    607597        AttrType( const AttrType& );
    608         virtual ~AttrType();
    609598
    610599        const std::string & get_name() const { return name; }
Note: See TracChangeset for help on using the changeset viewer.