Ignore:
Timestamp:
Aug 26, 2016, 3:06:08 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
5e644d3e
Parents:
f2a4f6c
Message:

removed unnecessary clone statement in validate phase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/ReferenceToType.cc

    rf2a4f6c r1e8b02f5  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ReferenceToType.cc -- 
     7// ReferenceToType.cc --
    88//
    99// Author           : Richard C. Bilson
     
    3636void ReferenceToType::print( std::ostream &os, int indent ) const {
    3737        using std::endl;
    38        
     38
    3939        Type::print( os, indent );
    4040        os << "instance of " << typeString() << " " << name << " ";
     
    128128}
    129129
     130TypeInstType::~TypeInstType() {
     131        // delete baseType; //This is shared and should not be deleted
     132}
     133
    130134void TypeInstType::set_baseType( TypeDecl *newValue ) {
    131135        baseType = newValue;
     
    137141void TypeInstType::print( std::ostream &os, int indent ) const {
    138142        using std::endl;
    139        
     143
    140144        Type::print( os, indent );
    141145        os << "instance of " << typeString() << " " << get_name() << " (" << ( isFtype ? "" : "not" ) << " function type) ";
Note: See TracChangeset for help on using the changeset viewer.