mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[xcodegen] Clean up buildable folder checking a bit
Factor out the checking and consistently apply the "all sources files must be covered" rule across both Clang and Swift targets.
This commit is contained in:
@@ -38,6 +38,10 @@ public extension PathProtocol {
|
||||
storage.lastComponent?.string ?? ""
|
||||
}
|
||||
|
||||
var isEmpty: Bool {
|
||||
storage.isEmpty
|
||||
}
|
||||
|
||||
func appending(_ relPath: RelativePath) -> Self {
|
||||
Self(storage.pushing(relPath.storage))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user