Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cc

    r25bd9074 r30f9072  
    1313// Update Count     : 21
    1414//
    15 
    16 #include <cassert>
    17 #include <string>
    18 #include <algorithm>
    19 #include <iterator>
    20 #include <functional>
    21 #include <set>
    22 
    23 #include "SynTree/Declaration.h"
    24 #include "SynTree/Type.h"
    25 #include "SynTree/Expression.h"
    26 #include "SynTree/Initializer.h"
    27 #include "SynTree/Statement.h"
    2815#include "Mangler.h"
    29 #include "CodeGen/OperatorTable.h"
     16
     17#include <algorithm>                // for copy, transform
     18#include <cassert>                  // for assert, assertf
     19#include <functional>               // for const_mem_fun_t, mem_fun
     20#include <iterator>                 // for ostream_iterator, back_insert_ite...
     21#include <list>                     // for _List_iterator, list, _List_const...
     22#include <string>                   // for string, operator<<, basic_string
     23
     24#include "CodeGen/OperatorTable.h"  // for OperatorInfo, operatorLookup
     25#include "Common/utility.h"         // for toString
     26#include "Parser/LinkageSpec.h"     // for Spec, isOverridable, AutoGen, Int...
     27#include "SynTree/Declaration.h"    // for TypeDecl, DeclarationWithType
     28#include "SynTree/Expression.h"     // for TypeExpr, Expression, operator<<
     29#include "SynTree/Type.h"           // for Type, ReferenceToType, Type::Fora...
    3030
    3131namespace SymTab {
     
    131131                mangleName << "A0";
    132132                maybeAccept( arrayType->get_base(), *this );
    133         }
    134 
    135         void Mangler::visit( ReferenceType *refType ) {
    136                 printQualifiers( refType );
    137                 mangleName << "R";
    138                 maybeAccept( refType->get_base(), *this );
    139133        }
    140134
     
    308302                // Removed due to restrict not affecting function compatibility in GCC
    309303//              if ( type->get_isRestrict() ) {
    310 //                      mangleName << "E";
     304//                      mangleName << "R";
    311305//              } // if
    312306                if ( type->get_lvalue() ) {
Note: See TracChangeset for help on using the changeset viewer.