Changeset 7804e2a for src/SymTab/Mangler.cc
- Timestamp:
- Aug 2, 2018, 5:15:21 PM (5 years ago)
- Branches:
- aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- c20fafd
- Parents:
- 4285544e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.cc
r4285544e r7804e2a 144 144 void Mangler::postvisit( VoidType * voidType ) { 145 145 printQualifiers( voidType ); 146 mangleName << Encoding::void Type;146 mangleName << Encoding::void_t; 147 147 } 148 148 … … 195 195 inFunctionType = true; 196 196 std::list< Type* > returnTypes = getTypes( functionType->returnVals ); 197 if (returnTypes.empty()) mangleName << Encoding::void Type;197 if (returnTypes.empty()) mangleName << Encoding::void_t; 198 198 else acceptAll( returnTypes, *visitor ); 199 199 mangleName << "_"; … … 223 223 224 224 void Mangler::postvisit( StructInstType * aggregateUseType ) { 225 mangleRef( aggregateUseType, "s");225 mangleRef( aggregateUseType, Encoding::struct_t ); 226 226 } 227 227 228 228 void Mangler::postvisit( UnionInstType * aggregateUseType ) { 229 mangleRef( aggregateUseType, "u");229 mangleRef( aggregateUseType, Encoding::union_t ); 230 230 } 231 231 232 232 void Mangler::postvisit( EnumInstType * aggregateUseType ) { 233 mangleRef( aggregateUseType, "e");233 mangleRef( aggregateUseType, Encoding::enum_t ); 234 234 } 235 235
Note: See TracChangeset
for help on using the changeset viewer.