Changeset cf0941d for src/SynTree/ArrayType.cc
- Timestamp:
- Jun 4, 2015, 11:08:06 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 44b5ca0
- Parents:
- c7ed6d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/ArrayType.cc
rc7ed6d0 rcf0941d 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 18 07:52:08201513 // Update Count : 212 // Last Modified On : Thu Jun 4 21:16:46 2015 13 // Update Count : 7 14 14 // 15 15 … … 25 25 26 26 ArrayType::ArrayType( const ArrayType &other ) 27 : Type( other ), base( maybeClone( other.base ) ), dimension( maybeClone( other.dimension ) ),28 isVarLen( other.isVarLen ), isStatic( other.isStatic ) {27 : Type( other ), base( maybeClone( other.base ) ), dimension( maybeClone( other.dimension ) ), 28 isVarLen( other.isVarLen ), isStatic( other.isStatic ) { 29 29 } 30 30 … … 43 43 } else if ( dimension ) { 44 44 os << "array of "; 45 dimension->print( os, indent );46 45 } else { 47 46 os << "open array of "; … … 49 48 if ( base ) { 50 49 base->print( os, indent ); 50 } // if 51 if ( dimension ) { 52 dimension->print( os, indent ); 51 53 } // if 52 54 }
Note: See TracChangeset
for help on using the changeset viewer.