mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -378,6 +378,8 @@ private:
|
||||
std::optional<std::string> VCToolsRoot = std::nullopt;
|
||||
std::optional<std::string> VCToolsVersion = std::nullopt;
|
||||
|
||||
std::optional<StringRef> SysRoot = std::nullopt;
|
||||
|
||||
public:
|
||||
StringRef getSDKPath() const { return SDKPath; }
|
||||
|
||||
@@ -416,6 +418,11 @@ public:
|
||||
VCToolsVersion = version;
|
||||
}
|
||||
|
||||
std::optional<StringRef> getSysRoot() const { return SysRoot; }
|
||||
void setSysRoot(StringRef sysroot) {
|
||||
SysRoot = sysroot;
|
||||
}
|
||||
|
||||
ArrayRef<std::string> getImportSearchPaths() const {
|
||||
return ImportSearchPaths;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user