mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[xcodegen] Avoid tracking inferArgs per target/source
This is unnecessary since we never configure it per target, just check the global setting.
This commit is contained in:
@@ -206,9 +206,7 @@ extension ProjectSpec {
|
||||
guard let path = mapPath(path, for: "Clang target") else { return }
|
||||
let name = name ?? path.fileName
|
||||
clangTargetSources.append(ClangTargetSource(
|
||||
at: path, named: name,
|
||||
mayHaveUnbuildableFiles: mayHaveUnbuildableFiles,
|
||||
inferArgs: inferArgs
|
||||
at: path, named: name, mayHaveUnbuildableFiles: mayHaveUnbuildableFiles
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user