Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/IdTable.cc

    rd3b7937 r59cde21  
    99// Author           : Richard C. Bilson
    1010// Created On       : Sun May 17 17:04:02 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jan  8 22:59:23 2016
    13 // Update Count     : 74
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Wed Oct 07 12:21:13 2015
     13// Update Count     : 73
    1414//
    1515
     
    2121#include "Mangler.h"
    2222#include "IdTable.h"
    23 #include "Common/SemanticError.h"
     23#include "SemanticError.h"
    2424
    2525using std::string;
     
    5454                        manglename = name;
    5555                } else if ( LinkageSpec::isOverridable( decl->get_linkage() ) ) {
    56                         // mangle the name without including the appropriate suffix, so overridable routines are placed into the
    57                         // same "bucket" as their user defined versions.
     56                        // mangle the name without including the appropriate suffix
     57                        // this will make it so that overridable routines are placed
     58                        // into the same "bucket" as their user defined versions.
    5859                        manglename = Mangler::mangle( decl, false );
    5960                } else {
     
    7071                        std::stack< DeclEntry >& entry = it->second;
    7172                        if ( ! entry.empty() && entry.top().second == scopeLevel ) {
    72                                 // if we're giving the same name mangling to things of different types then there is something wrong
     73                                // if we're giving the same name mangling to things of
     74                                //  different types then there is something wrong
    7375                                Declaration *old = entry.top().first;
    7476                                assert( (dynamic_cast<ObjectDecl*>( decl ) && dynamic_cast<ObjectDecl*>( old ) )
Note: See TracChangeset for help on using the changeset viewer.