Changes in src/SymTab/Validate.cc [bcda04c:fbcde64]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
rbcda04c rfbcde64 10 10 // Created On : Sun May 17 21:50:04 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Mar 16 16:39:15201713 // Update Count : 35 312 // Last Modified On : Thu Mar 30 16:50:13 2017 13 // Update Count : 357 14 14 // 15 15 … … 222 222 CompoundLiteral compoundliteral; 223 223 224 HoistStruct::hoistStruct( translationUnit ); 224 225 EliminateTypedef::eliminateTypedef( translationUnit ); 225 HoistStruct::hoistStruct( translationUnit );226 226 ReturnTypeFixer::fix( translationUnit ); // must happen before autogen 227 227 acceptAll( translationUnit, lrt ); // must happen before autogen, because sized flag needs to propagate to generated functions … … 824 824 static UniqueName indexName( "_compLit" ); 825 825 826 ObjectDecl *tempvar = new ObjectDecl( indexName.newName(), storageClasses, LinkageSpec::C, 0, compLitExpr->get_ type(), compLitExpr->get_initializer() );827 compLitExpr->set_ type( 0 );826 ObjectDecl *tempvar = new ObjectDecl( indexName.newName(), storageClasses, LinkageSpec::C, 0, compLitExpr->get_result(), compLitExpr->get_initializer() ); 827 compLitExpr->set_result( 0 ); 828 828 compLitExpr->set_initializer( 0 ); 829 829 delete compLitExpr;
Note: See TracChangeset
for help on using the changeset viewer.