Changes in src/ResolvExpr/RenameVars.cc [89e6ffc:ea6332d]
- File:
-
- 1 edited
-
src/ResolvExpr/RenameVars.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/RenameVars.cc
r89e6ffc rea6332d 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // RenameVars.cc -- 7 // RenameVars.cc -- 8 8 // 9 9 // Author : Richard C. Bilson … … 14 14 // 15 15 16 #include <sstream> 16 #include <ext/alloc_traits.h> // for __alloc_traits<>::value_type 17 #include <memory> // for allocator_traits<>::value_type 18 #include <sstream> // for operator<<, basic_ostream, ostring... 19 #include <utility> // for pair 17 20 21 #include "Common/SemanticError.h" // for SemanticError 18 22 #include "RenameVars.h" 19 #include "SynTree/ Visitor.h"20 #include "SynTree/ Type.h"21 #include "SynTree/ Declaration.h"22 #include "SynTree/ Expression.h"23 #include "SynTree/Declaration.h" // for DeclarationWithType, TypeDecl, Dec... 24 #include "SynTree/Expression.h" // for Expression 25 #include "SynTree/Type.h" // for Type, TypeInstType, TraitInstType 26 #include "SynTree/Visitor.h" // for acceptAll, maybeAccept 23 27 24 28 namespace ResolvExpr { … … 125 129 mapStack.push_front( mapStack.front() ); 126 130 // renames all "forall" type names to `_${level}_${name}' 127 for ( std::list< TypeDecl* >::iterator i = type->get_forall().begin(); i != type->get_forall().end(); ++i ) {131 for ( Type::ForallList::iterator i = type->get_forall().begin(); i != type->get_forall().end(); ++i ) { 128 132 std::ostringstream output; 129 133 output << "_" << level << "_" << (*i)->get_name();
Note:
See TracChangeset
for help on using the changeset viewer.