Changes in src/SymTab/IdTable.cc [59cde21:7ee14bb7]
- File:
-
- 1 edited
-
src/SymTab/IdTable.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/IdTable.cc
r59cde21 r7ee14bb7 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 17:04:02 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Wed Oct 07 12:21:13 201513 // Update Count : 7 311 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jan 8 22:59:23 2016 13 // Update Count : 74 14 14 // 15 15 … … 54 54 manglename = name; 55 55 } else if ( LinkageSpec::isOverridable( decl->get_linkage() ) ) { 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. 56 // mangle the name without including the appropriate suffix, so overridable routines are placed into the 57 // same "bucket" as their user defined versions. 59 58 manglename = Mangler::mangle( decl, false ); 60 59 } else { … … 71 70 std::stack< DeclEntry >& entry = it->second; 72 71 if ( ! entry.empty() && entry.top().second == scopeLevel ) { 73 // if we're giving the same name mangling to things of 74 // different types then there is something wrong 72 // if we're giving the same name mangling to things of different types then there is something wrong 75 73 Declaration *old = entry.top().first; 76 74 assert( (dynamic_cast<ObjectDecl*>( decl ) && dynamic_cast<ObjectDecl*>( old ) )
Note:
See TracChangeset
for help on using the changeset viewer.