Sync With Swift

Guide for syncing with upstream Swift compiler demangling changes Use when this capability is needed.

tomevault-io b098d87 2 files · 1.7 KB Updated

File contents

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

  1. Node.Kind: Check for new enum cases in Node.swift Kind enum
  2. Demangler: Check for new operators in demangleOperator() in Demangler.swift
  3. NodePrinter: Add corresponding print rules in printNode() in NodePrinter.swift
  4. DemangleOptions: Check for new options in DemangleOptions.swift
  5. Test data: Update Tests/SwiftDemangleTests/Resources/manglings.txt with new test cases

Reference


Source: oozoofrog/SwiftDemangle — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/oozoofrog--swiftdemangle--swiftdemangle commit b098d87354

Frequently asked questions

npx skillmds@latest add tomevault-io/sync-with-swift