Changes in src/Parser/TypeData.cc [1f370451:c453ac4]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cc
r1f370451 rc453ac4 55 55 function.body = nullptr; 56 56 function.newStyle = false; 57 function.withExprs = nullptr; 57 58 break; 58 59 // Enum is an Aggregate, so both structures are initialized together. … … 122 123 delete function.oldDeclList; 123 124 delete function.body; 125 delete function.withExprs; 124 126 // delete function; 125 127 break; … … 194 196 newtype->function.body = maybeClone( function.body ); 195 197 newtype->function.newStyle = function.newStyle; 198 newtype->function.withExprs = maybeClone( function.withExprs ); 196 199 break; 197 200 case Aggregate: … … 861 864 CompoundStmt * body = dynamic_cast< CompoundStmt * >( stmt ); 862 865 decl = new FunctionDecl( name, scs, linkage, buildFunction( td ), body, attributes, funcSpec ); 866 buildList( td->function.withExprs, decl->withExprs ); 863 867 return decl->set_asmName( asmName ); 864 868 } else if ( td->kind == TypeData::Aggregate ) {
Note: See TracChangeset
for help on using the changeset viewer.