From 89df5c54072c5f9f162fcbed1669c490110a730d Mon Sep 17 00:00:00 2001 From: Rintaro Ishizaki Date: Fri, 28 Mar 2025 07:20:13 -0700 Subject: [PATCH] Update for swift-syntax AttributeSyntax.Arguments changes Some specialized `AttributeSyntax.Arguments` cases and related types are being removed from swift-syntax. --- Sources/SwiftFormat/PrettyPrint/TokenStreamCreator.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Sources/SwiftFormat/PrettyPrint/TokenStreamCreator.swift b/Sources/SwiftFormat/PrettyPrint/TokenStreamCreator.swift index 03da7d4b4..c50f06cb9 100644 --- a/Sources/SwiftFormat/PrettyPrint/TokenStreamCreator.swift +++ b/Sources/SwiftFormat/PrettyPrint/TokenStreamCreator.swift @@ -1880,11 +1880,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor { return .visitChildren } - override func visit(_ node: ExposeAttributeArgumentsSyntax) -> SyntaxVisitorContinueKind { - after(node.comma, tokens: .break(.same, size: 1)) - return .visitChildren - } - override func visit(_ node: AvailabilityLabeledArgumentSyntax) -> SyntaxVisitorContinueKind { before(node.label, tokens: .open)