Changeset 3f9a8d0 for src/SymTab/Mangler.cc
- Timestamp:
- Feb 26, 2024, 8:17:20 AM (19 months ago)
- Branches:
- master
- Children:
- f1149ac
- Parents:
- 1bb76ad (diff), a4da45e (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
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.cc
r1bb76ad r3f9a8d0 59 59 void postvisit( const ast::QualifiedType * qualType ); 60 60 61 void postvisit( const ast::EnumPosType * posType ); 62 61 63 /// The result is the current constructed mangled name. 62 64 std::string result() const { return mangleName; } … … 277 279 assertf( decl->kind < ast::TypeDecl::Kind::NUMBER_OF_KINDS, "Unhandled type variable kind: %d", decl->kind ); 278 280 mangleName += Encoding::typeVariables[ decl->kind ] + std::to_string( decl->name.length() ) + decl->name; 281 } 282 283 void Mangler::postvisit( const ast::EnumPosType * pos ) { 284 postvisit( pos->instance ); 285 mangleName += "_pos"; 279 286 } 280 287
Note:
See TracChangeset
for help on using the changeset viewer.