| 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.swift Kind enum
- Demangler: Check for new operators in
demangleOperator() in Demangler.swift
- NodePrinter: Add corresponding print rules in
printNode() in NodePrinter.swift
- DemangleOptions: Check for new options in
DemangleOptions.swift
- Test data: Update
Tests/SwiftDemangleTests/Resources/manglings.txt with new test cases
Reference