Skip to content

Commit 9e81653

Browse files
committed
[metadata prespecialization] Fixed OldRemangler's Metaclass impl.
Previously, the suffix was added to the buffer before the metaclass itself. Here, that is fixed.
1 parent a5a826c commit 9e81653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Demangling/OldRemangler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2177,8 +2177,8 @@ void Remangler::mangleObjCAsyncCompletionHandlerImpl(Node *node) {
21772177
}
21782178

21792179
void Remangler::mangleCanonicalSpecializedGenericMetaclass(Node *node) {
2180-
Buffer << "MM";
21812180
mangleSingleChildNode(node); // type
2181+
Buffer << "MM";
21822182
}
21832183

21842184
void Remangler::mangleCanonicalSpecializedGenericTypeMetadataAccessFunction(

0 commit comments

Comments
 (0)