Skip to content

Commit 22f193d

Browse files
committed
Use the right demangling API when demangling nominal types.
1 parent 703745c commit 22f193d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/RemoteAST/RemoteAST.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class RemoteASTTypeBuilder {
4848
}
4949

5050
NominalTypeDecl *createNominalTypeDecl(std::string &&mangledName) {
51-
auto node = Demangle::demangleSymbolAsNode(mangledName);
51+
auto node = Demangle::demangleTypeAsNode(mangledName);
5252
if (!node) return nullptr;
5353

5454
return createNominalTypeDecl(node);

0 commit comments

Comments
 (0)