File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -845,6 +845,14 @@ std::string mangledNameForTypeMetadataAccessor(
845
845
llvm::StringRef moduleName, llvm::StringRef typeName, Node::Kind typeKind,
846
846
Mangle::ManglingFlavor Flavor = Mangle::ManglingFlavor::Default);
847
847
848
+ // / Base class for printing a Swift demangled node tree.
849
+ // /
850
+ // / NodePrinter is used to convert demangled Swift symbol nodes into
851
+ // / human-readable string representations. It handles formatting, indentation,
852
+ // / and Swift-specific syntax.
853
+ // /
854
+ // / The virtual methods in this class are meant to be overriden to allow external
855
+ // / consumers (e.g lldb) to track the ranges of components of the demangled name.
848
856
class NodePrinter {
849
857
protected:
850
858
DemanglerPrinter Printer;
You can’t perform that action at this time.
0 commit comments