File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -164,8 +164,9 @@ class ASTMangler : public Mangler {
164
164
165
165
std::string mangleObjCRuntimeName (const NominalTypeDecl *Nominal);
166
166
167
- std::string mangleTypeAsUSR (Type type) {
168
- return mangleTypeWithoutPrefix (type);
167
+ std::string mangleTypeWithoutPrefix (Type type) {
168
+ appendType (type);
169
+ return finalize ();
169
170
}
170
171
171
172
std::string mangleTypeAsContextUSR (const NominalTypeDecl *type);
@@ -319,11 +320,6 @@ class ASTMangler : public Mangler {
319
320
void appendOpParamForLayoutConstraint (LayoutConstraint Layout);
320
321
321
322
void appendSymbolicReference (SymbolicReferent referent);
322
-
323
- std::string mangleTypeWithoutPrefix (Type type) {
324
- appendType (type);
325
- return finalize ();
326
- }
327
323
};
328
324
329
325
} // end namespace Mangle
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ convertToDefinition(ArrayRef<Entry> entries) {
97
97
98
98
std::string SILDefaultWitnessTable::getUniqueName () const {
99
99
Mangle::ASTMangler Mangler;
100
- return Mangler.mangleTypeAsUSR (getProtocol ()->getDeclaredType ());
100
+ return Mangler.mangleTypeWithoutPrefix (getProtocol ()->getDeclaredType ());
101
101
}
102
102
103
103
SILDefaultWitnessTable::~SILDefaultWitnessTable () {
You can’t perform that action at this time.
0 commit comments