Changeset 0fe4e62 for src/InitTweak/InitTweak.cc
- Timestamp:
- Nov 17, 2017, 10:56:16 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, 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:
- cdbfab0
- Parents:
- f5c3b6c (diff), b7f8cb4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.cc
rf5c3b6c r0fe4e62 99 99 class InitExpander::ExpanderImpl { 100 100 public: 101 virtual ~ExpanderImpl() = default; 101 102 virtual std::list< Expression * > next( std::list< Expression * > & indices ) = 0; 102 103 virtual Statement * buildListInit( UntypedExpr * callExpr, std::list< Expression * > & indices ) = 0; … … 106 107 public: 107 108 InitImpl( Initializer * init ) : init( init ) {} 109 virtual ~InitImpl() = default; 108 110 109 111 virtual std::list< Expression * > next( __attribute((unused)) std::list< Expression * > & indices ) { … … 122 124 public: 123 125 ExprImpl( Expression * expr ) : arg( expr ) {} 124 125 ~ExprImpl() { delete arg; } 126 virtual ~ExprImpl() { delete arg; } 126 127 127 128 virtual std::list< Expression * > next( std::list< Expression * > & indices ) {
Note: See TracChangeset
for help on using the changeset viewer.