Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/RenameVars.cc

    rea6332d r89e6ffc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // RenameVars.cc --
     7// RenameVars.cc -- 
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    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
     16#include <sstream>
    2017
    21 #include "Common/SemanticError.h"  // for SemanticError
    2218#include "RenameVars.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
     19#include "SynTree/Visitor.h"
     20#include "SynTree/Type.h"
     21#include "SynTree/Declaration.h"
     22#include "SynTree/Expression.h"
    2723
    2824namespace ResolvExpr {
     
    129125                        mapStack.push_front( mapStack.front() );
    130126                        // renames all "forall" type names to `_${level}_${name}'
    131                         for ( Type::ForallList::iterator i = type->get_forall().begin(); i != type->get_forall().end(); ++i ) {
     127                        for ( std::list< TypeDecl* >::iterator i = type->get_forall().begin(); i != type->get_forall().end(); ++i ) {
    132128                                std::ostringstream output;
    133129                                output << "_" << level << "_" << (*i)->get_name();
Note: See TracChangeset for help on using the changeset viewer.