Changeset 71f4e4f for src/SynTree/ObjectDecl.cc
- Timestamp:
- Jan 13, 2016, 5:19:47 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, with_gc
- Children:
- f1e012b
- Parents:
- 02c7d04
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/ObjectDecl.cc
r02c7d04 r71f4e4f 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Fri Jan 08 15:29:10201613 // Update Count : 2 712 // Last Modified On : Wed Jan 13 16:11:19 2016 13 // Update Count : 29 14 14 // 15 15 … … 25 25 set_isInline( isInline ); 26 26 set_isNoreturn( isNoreturn ); 27 set_ctor( NULL );28 27 } 29 28 30 29 ObjectDecl::ObjectDecl( const ObjectDecl &other ) 31 : Parent( other ), type( maybeClone( other.type ) ), init( maybeClone( other.init ) ), bitfieldWidth( maybeClone( other.bitfieldWidth ) ) , ctor( maybeClone( other.ctor ) ){30 : Parent( other ), type( maybeClone( other.type ) ), init( maybeClone( other.init ) ), bitfieldWidth( maybeClone( other.bitfieldWidth ) ) { 32 31 } 33 32 … … 36 35 delete init; 37 36 delete bitfieldWidth; 38 delete ctor;39 37 } 40 38 … … 67 65 os << " with bitfield width "; 68 66 bitfieldWidth->print( os ); 69 } // if70 71 if ( ctor ) {72 os << " initially constructed with ";73 ctor->print( os, indent );74 67 } // if 75 68 }
Note: See TracChangeset
for help on using the changeset viewer.