Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ final class ModuleMapTaskProducer: PhasedTaskProducer, TaskProducer {
outputStream <<< "module \(try moduleName.asModuleIdentifierString()).Swift {\n"
}
outputStream <<< " header \"\(interfaceHeaderName.asCStringLiteralContent)\"\n"
outputStream <<< " requires objc\n"
outputStream <<< "}\n"

return outputStream.bytes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,6 @@ fileprivate struct ModuleMapTaskConstructionTests: CoreBasedTests {
#expect(contents == (OutputByteStream()
<<< "framework module SwiftOnly {\n"
<<< " header \"SwiftOnly-Swift.h\"\n"
<<< " requires objc\n"
<<< "}\n").bytes)
}

Expand Down Expand Up @@ -629,7 +628,6 @@ fileprivate struct ModuleMapTaskConstructionTests: CoreBasedTests {
<<< "\n"
<<< "module ObjCCompatibilityHeader.Swift {\n"
<<< " header \"ObjCCompatibilityHeader-Swift.h\"\n"
<<< " requires objc\n"
<<< "}\n").bytes)
}

Expand Down Expand Up @@ -978,7 +976,6 @@ fileprivate struct ModuleMapTaskConstructionTests: CoreBasedTests {
<<< "\n"
<<< "module \(targetName).Swift {\n"
<<< " header \"\(targetName)-Swift.h\"\n"
<<< " requires objc\n"
<<< "}\n").bytes)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,6 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
#expect(contents == (OutputByteStream()
<<< "framework module CoreFoo {\n"
<<< " header \"CoreFoo-Swift.h\"\n"
<<< " requires objc\n"
<<< "}\n").bytes)
}
}
Expand Down Expand Up @@ -1086,7 +1085,6 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
stream <<< "\n"
stream <<< "module CoreFoo.Swift {\n"
stream <<< " header \"CoreFoo-Swift.h\"\n"
stream <<< " requires objc\n"
stream <<< "}\n"
#expect(contents == stream.bytes)

Expand Down
Loading