Changeset 7ee14bb7 for src/SymTab/IdTable.cc
- Timestamp:
- Jan 21, 2016, 9:25:53 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- f3fc8cbe
- Parents:
- 803deb1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/IdTable.cc
r803deb1 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.