mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remangler: Properly handle "static" as a context node.
Should bring the test/Demangle/remangle.swift test case back online. Swift SVN r25120
This commit is contained in:
@@ -823,9 +823,9 @@ void Remangler::mangleImplicitClosure(Node *node, EntityContext &ctx) {
|
||||
mangleNamedAndTypedEntity(node, 'F', "u", ctx); // name is index
|
||||
}
|
||||
|
||||
void Remangler::mangleStatic(Node *node) {
|
||||
void Remangler::mangleStatic(Node *node, EntityContext &ctx) {
|
||||
Out << 'Z';
|
||||
mangle(node->getChild(0).get());
|
||||
mangleEntityContext(node->getChild(0).get(), ctx);
|
||||
}
|
||||
|
||||
void Remangler::mangleSimpleEntity(Node *node, char basicKind,
|
||||
|
||||
Reference in New Issue
Block a user