Changeset bbbc067 for src/SymTab/Validate.cc
- Timestamp:
- Jan 29, 2019, 4:30:46 PM (6 years ago)
- Branches:
- no_list
- Children:
- 8d25360
- Parents:
- bee0694
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
rbee0694 rbbbc067 1226 1226 TupleType * tupleType = strict_dynamic_cast< TupleType * >( ResolvExpr::extractResultType( ftype ) ); 1227 1227 // ensure return value is not destructed by explicitly creating an empty ListInit node wherein maybeConstruct is false. 1228 ObjectDecl * newRet = new ObjectDecl( "", Type::StorageClasses(), LinkageSpec::Cforall, 0, tupleType, new ListInit( std:: list<Initializer*>(), noDesignators, false ) );1228 ObjectDecl * newRet = new ObjectDecl( "", Type::StorageClasses(), LinkageSpec::Cforall, 0, tupleType, new ListInit( std::vector< Initializer * >(), noDesignators, false ) ); 1229 1229 deleteAll( retVals ); 1230 1230 retVals.clear();
Note: See TracChangeset
for help on using the changeset viewer.