Skip to content

Commit 4070982

Browse files
committed
piled up attributes on single import
1 parent bc6afe7 commit 4070982

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

Sources/SwiftParser/Lexer/Cursor.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
@_spi(RawSyntax) import SwiftSyntax
14-
@_spi(BumpPtrAllocator) import SwiftSyntax
13+
@_spi(RawSyntax) @_spi(BumpPtrAllocator) import SwiftSyntax
1514

1615
extension SyntaxText {
1716
fileprivate func containsPlaceholderEnd() -> Bool {

Sources/SwiftParser/Lexer/LexemeSequence.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
@_spi(RawSyntax) import SwiftSyntax
14-
@_spi(BumpPtrAllocator) import SwiftSyntax
13+
@_spi(RawSyntax) @_spi(BumpPtrAllocator) import SwiftSyntax
1514

1615
extension Lexer {
1716
/// A sequence of ``Lexer/Lexeme`` tokens starting from a ``Lexer/Cursor``

Sources/SwiftParser/Lexer/RegexLiteralLexer.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
@_spi(RawSyntax) import SwiftSyntax
14-
@_spi(BumpPtrAllocator) import SwiftSyntax
13+
@_spi(RawSyntax) @_spi(BumpPtrAllocator) import SwiftSyntax
1514

1615
/// A separate lexer specifically for regex literals.
1716
fileprivate struct RegexLiteralLexer {

Sources/SwiftParser/StringLiteralRepresentedLiteralValue.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
@_spi(RawSyntax) import SwiftSyntax
14-
@_spi(BumpPtrAllocator) import SwiftSyntax
13+
@_spi(RawSyntax) @_spi(BumpPtrAllocator) import SwiftSyntax
1514

1615
extension StringLiteralExprSyntax {
1716

0 commit comments

Comments
 (0)