Changes in src/InitTweak/FixInitNew.cpp [7d651a6:293dc1c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInitNew.cpp
r7d651a6 r293dc1c 864 864 if ( const ast::Stmt * ctor = ctorInit->ctor ) { 865 865 if ( objDecl->storage.is_static ) { 866 addDataSectionAttribute(objDecl);867 866 // originally wanted to take advantage of gcc nested functions, but 868 867 // we get memory errors with this approach. To remedy this, the static … … 948 947 objDecl->name = objDecl->name + staticNamer.newName(); 949 948 objDecl->mangleName = Mangle::mangle( objDecl ); 950 objDecl->init = nullptr;951 949 952 950 // xxx - temporary hack: need to return a declaration, but want to hoist the current object out of this scope
Note: See TracChangeset
for help on using the changeset viewer.