Skip to content

Commit ff62407

Browse files
Merge pull request swiftlang#84169 from charles-zablit/charles-zablit/demangling/make-printRoot-virtual
[demangling] make printRoot virtual
2 parents 5dc2817 + e68b19f commit ff62407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Demangling/Demangle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ class NodePrinter {
891891

892892
virtual ~NodePrinter() = default;
893893

894-
void printRoot(NodePointer root) {
894+
virtual void printRoot(NodePointer root) {
895895
isValid = true;
896896
print(root, 0);
897897
}

0 commit comments

Comments
 (0)