Skip to content

Commit 46703ef

Browse files
committed
[ASTGen] Remove spurious whitespace
1 parent f9d7ac7 commit 46703ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ASTGen/Sources/ASTGen/ASTGen.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ struct ASTGenVisitor: SyntaxTransformVisitor {
3232
let base: UnsafePointer<CChar>
3333

3434
@Boxed var declContext: UnsafeMutableRawPointer
35-
35+
3636
// TODO: this some how messes up the witness table when I uncomment it locally :/
3737
// public func visit<T>(_ node: T?) -> [UnsafeMutableRawPointer]? {
3838
// if let node = node { return visit(node) }
3939
// return nil
4040
// }
41-
41+
4242
@_disfavoredOverload
4343
public func visit(_ node: SourceFileSyntax) -> UnsafeMutableRawPointer {
4444
fatalError("Use other overload.")
@@ -47,7 +47,7 @@ struct ASTGenVisitor: SyntaxTransformVisitor {
4747
public func visitAny(_ node: Syntax) -> UnsafeMutableRawPointer {
4848
fatalError("Not implemented.")
4949
}
50-
50+
5151
public func visit(_ node: SourceFileSyntax) -> [UnsafeMutableRawPointer] {
5252
let loc = self.base.advanced(by: node.position.utf8Offset).raw
5353
var out = [UnsafeMutableRawPointer]()
@@ -63,7 +63,7 @@ struct ASTGenVisitor: SyntaxTransformVisitor {
6363
out.append(swiftASTNodes)
6464
}
6565
}
66-
66+
6767
return out
6868
}
6969
}

0 commit comments

Comments
 (0)