Changes in src/InitTweak/FixInit.cc [f1791a4:490fb92e]
- File:
-
- 1 edited
-
src/InitTweak/FixInit.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
rf1791a4 r490fb92e 219 219 }; 220 220 221 struct SplitExpressions : public WithShortCircuiting, public WithTypeSubstitution,public WithStmtsToAdd {221 struct SplitExpressions : public WithShortCircuiting, /*public WithTypeSubstitution, */public WithStmtsToAdd { 222 222 /// add CompoundStmts around top-level expressions so that temporaries are destroyed in the correct places. 223 223 static void split( std::list< Declaration * > &translationUnit ); … … 802 802 if ( Statement * ctor = ctorInit->get_ctor() ) { 803 803 if ( objDecl->get_storageClasses().is_static ) { 804 805 // The ojbect needs to go in the data section, regardless of dtor complexity below.806 // The attribute works, and is meant to apply, both for leaving the static local alone,807 // and for hoisting it out as a static global.808 addDataSectonAttribute( objDecl );809 810 804 // originally wanted to take advantage of gcc nested functions, but 811 805 // we get memory errors with this approach. To remedy this, the static
Note:
See TracChangeset
for help on using the changeset viewer.