Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Tests/MMIOMacrosTests/Assertions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxMacroExpansion
import SwiftSyntaxMacros
Expand Down Expand Up @@ -98,4 +97,3 @@ func assertMacroExpansion(
line: UInt(sourceLocation.line),
column: UInt(sourceLocation.column))
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxMacros
import SwiftSyntaxMacrosGenericTestSupport
Expand Down Expand Up @@ -99,4 +98,3 @@ struct BitRangeTests {
vector.value.canonicalizedClosedRange == vector.canonicalizedClosedRange)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacros
Expand Down Expand Up @@ -80,4 +79,3 @@ struct ExpressibleByExprSyntaxTests {
assertNoParse(expression: "1", as: BitFieldTypeProjection.self)
}
}
#endif
2 changes: 0 additions & 2 deletions Tests/MMIOMacrosTests/Macros/BitFieldMacroTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacros
Expand Down Expand Up @@ -335,4 +334,3 @@ struct BitFieldMacroTests {
indentationWidth: Self.indentationWidth)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxMacros
import Testing
Expand Down Expand Up @@ -266,4 +265,3 @@ struct RegisterBlockAndOffsetMacroTests {
indentationWidth: Self.indentationWidth)
}
}
#endif
2 changes: 0 additions & 2 deletions Tests/MMIOMacrosTests/Macros/RegisterBlockMacroTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacros
Expand Down Expand Up @@ -219,4 +218,3 @@ struct RegisterBlockMacroTests {
indentationWidth: Self.indentationWidth)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxMacros
import SwiftSyntaxMacrosGenericTestSupport
Expand Down Expand Up @@ -297,4 +296,3 @@ struct RegisterBlockOffsetMacroTests {
indentationWidth: Self.indentationWidth)
}
}
#endif
2 changes: 0 additions & 2 deletions Tests/MMIOMacrosTests/Macros/RegisterMacroTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxMacros
import SwiftSyntaxMacrosGenericTestSupport
Expand Down Expand Up @@ -1241,4 +1240,3 @@ struct RegisterMacroTests {
indentationWidth: Self.indentationWidth)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacros
Expand Down Expand Up @@ -586,4 +585,3 @@ struct ParsableMacroTests {
#expect("\(F.attributeWithPlaceholders)" == "@F(foo: <#Int#>)")
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacroExpansion
Expand Down Expand Up @@ -160,4 +159,3 @@ struct PatternBindingSyntaxTests {
#expect(accessor == vector.accessor)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import Testing
Expand Down Expand Up @@ -57,4 +56,3 @@ struct SyntaxStringInterpolationTests {
#expect(expected.description == actual.description)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxMacroExpansion
import SwiftSyntaxMacros
Expand Down Expand Up @@ -49,4 +48,3 @@ struct Macro1: MMIOMemberMacro {
in context: MacroContext<Self, some MacroExpansionContext>
) throws -> [DeclSyntax] { [] }
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacroExpansion
Expand Down Expand Up @@ -143,4 +142,3 @@ struct VariableDeclSyntaxTests {
#expect(vector.decl.isComputedProperty == vector.isComputedProperty)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacroExpansion
Expand Down Expand Up @@ -99,4 +98,3 @@ struct WithAttributesSyntaxTests {
#expect(actual?.macroType.signature == expected?.macroType.signature)
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
//===----------------------------------------------------------------------===//

#if canImport(MMIOMacros)
import SwiftSyntax
import SwiftSyntaxBuilder
import Testing
Expand Down Expand Up @@ -63,4 +62,3 @@ struct WithModifiersSyntaxTests {
== vector.accessLevel?.name.tokenKind)
}
}
#endif