Skip to content

Commit 689b15c

Browse files
committed
Build without warnings
1 parent 0a37219 commit 689b15c

File tree

11 files changed

+24
-224
lines changed

11 files changed

+24
-224
lines changed

lib/Analysis/Info.plist

Lines changed: 0 additions & 24 deletions
This file was deleted.

llbuild.xcodeproj/project.pbxproj

Lines changed: 20 additions & 34 deletions
Large diffs are not rendered by default.

perftests/Xcode/PerfTests/Info.plist

Lines changed: 0 additions & 24 deletions
This file was deleted.

products/llbuild-framework/Info.plist

Lines changed: 0 additions & 26 deletions
This file was deleted.

products/llbuildSwift/BuildSystemBindings.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public struct BuildSystemCommandInterface {
6262
}
6363
}
6464

65-
public protocol Tool: class {
65+
public protocol Tool: AnyObject {
6666
/// Called to create a specific command instance of this tool.
6767
func createCommand(_ name: String) -> ExternalCommand
6868

@@ -141,7 +141,7 @@ private final class ToolWrapper {
141141
}
142142
}
143143

144-
public protocol ExternalCommand: class {
144+
public protocol ExternalCommand: AnyObject {
145145
/// Get a signature used to identify the internal state of the command.
146146
///
147147
/// This is checked to determine if the command needs to rebuild versus the last time it was run.
@@ -180,7 +180,7 @@ public protocol ExternalCommand: class {
180180

181181
}
182182

183-
public protocol ProducesCustomBuildValue: class {
183+
public protocol ProducesCustomBuildValue: AnyObject {
184184
/// Called to execute the given command that produces a custom build value.
185185
///
186186
/// - command: A handle to the executing command.

unittests/Analysis/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

unittests/Swift/BuildSystemEngineTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class FailureCommand: ExternalCommand {
2929
}
3030
}
3131

32-
protocol ExpectationCommand: class {
32+
protocol ExpectationCommand: AnyObject {
3333
func isFulfilled() -> Bool
3434
}
3535

unittests/Swift/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

unittests/TestSupport/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

unittests/swift-Ninja/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)