name: sync-with-swift description: Guide for syncing with upstream Swift compiler demangling changes
sync-with-swift
This project is a pure Swift port of the Swift compiler's swift-demangle. When syncing with a new Swift version:
Checklist
- Node.Kind: Check for new enum cases in
Node.swiftKindenum - Demangler: Check for new operators in
demangleOperator()inDemangler.swift - NodePrinter: Add corresponding print rules in
printNode()inNodePrinter.swift - DemangleOptions: Check for new options in
DemangleOptions.swift - Test data: Update
Tests/SwiftDemangleTests/Resources/manglings.txtwith new test cases
Reference
- Upstream source: https://github.com/swiftlang/swift/tree/main/lib/Demangling
- Diff guide:
Diff.mdin project root tracks differences from upstream