Changeset 937e51d for src/SymTab/Mangler.cc
- Timestamp:
- Jun 26, 2015, 4:00:26 PM (11 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:
- 0df292b, e0ff3e6
- Parents:
- eb50842 (diff), 1869adf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/SymTab/Mangler.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.cc
reb50842 r937e51d 10 10 // Created On : Sun May 17 21:40:29 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 19 16:50:47201513 // Update Count : 312 // Last Modified On : Mon Jun 8 15:12:12 2015 13 // Update Count : 8 14 14 // 15 15 … … 160 160 } else { 161 161 printQualifiers( typeInst ); 162 std::ostr stream numStream;162 std::ostringstream numStream; 163 163 numStream << varNum->second.first; 164 mangleName << (numStream.pcount() + 1);165 164 switch ( (TypeDecl::Kind )varNum->second.second ) { 166 165 case TypeDecl::Any: … … 174 173 break; 175 174 } // switch 176 mangleName << std::string( numStream.str(), numStream.pcount());175 mangleName << numStream.str(); 177 176 } // if 178 177 } … … 220 219 sub_mangler.varNums = varNums; 221 220 (*assert)->accept( sub_mangler ); 222 assertionNames.push_back( s td::string( sub_mangler.mangleName.str(), sub_mangler.mangleName.pcount()) );221 assertionNames.push_back( sub_mangler.mangleName.str() ); 223 222 } // for 224 223 } // for
Note:
See TracChangeset
for help on using the changeset viewer.