Changeset 8e9cbb2 for src/ResolvExpr
- Timestamp:
- Jul 4, 2016, 9:24:11 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 7fe4cc3e
- Parents:
- 0a2c1f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
r0a2c1f1 r8e9cbb2 10 10 // Created On : Sat May 16 23:52:08 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Ju n 13 16:13:54201613 // Update Count : 2 512 // Last Modified On : Mon Jul 4 17:02:51 2016 13 // Update Count : 29 14 14 // 15 15 … … 227 227 std::cerr << "there are " << alternatives.size() << " alternatives after elimination" << std::endl; 228 228 ) 229 230 // Central location to handle gcc extension keyword for all expression types. 231 for ( Alternative &iter: alternatives ) { 232 iter.expr->set_extension( expr->get_extension() ); 233 } // for 229 234 } 230 235 … … 772 777 for ( std::list< DeclarationWithType* >::iterator i = declList.begin(); i != declList.end(); ++i ) { 773 778 VariableExpr newExpr( *i, nameExpr->get_argName() ); 774 newExpr.set_extension( nameExpr->get_extension() );775 779 alternatives.push_back( Alternative( newExpr.clone(), env, Cost() ) ); 776 780 PRINT(
Note: See TracChangeset
for help on using the changeset viewer.