Changes in src/SynTree/Declaration.cc [42107b4:f6e3e34]
- File:
-
- 1 edited
-
src/SynTree/Declaration.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.cc
r42107b4 rf6e3e34 38 38 } 39 39 40 Declaration::~Declaration() { 41 } 42 40 43 void Declaration::fixUniqueId() { 41 44 // don't need to set unique ID twice … … 65 68 } 66 69 70 AsmDecl::~AsmDecl() { 71 delete stmt; 72 } 73 67 74 void AsmDecl::print( std::ostream &os, Indenter indent ) const { 68 75 stmt->print( os, indent ); … … 78 85 79 86 StaticAssertDecl::StaticAssertDecl( const StaticAssertDecl & other ) : Declaration( other ), condition( maybeClone( other.condition ) ), message( maybeClone( other.message ) ) { 87 } 88 89 StaticAssertDecl::~StaticAssertDecl() { 90 delete condition; 91 delete message; 80 92 } 81 93
Note:
See TracChangeset
for help on using the changeset viewer.