mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #78303 from ian-twilightcoder/clang-importer-search-paths
[ClangImporter] clang's -iframework comes before builtin usr/local/include, but Swift's -Fsystem comes after
This commit is contained in:
@@ -187,7 +187,8 @@ public:
|
||||
return ClangImporterOpts.ClangScannerModuleCachePath;
|
||||
}
|
||||
|
||||
void setImportSearchPaths(const std::vector<std::string> &Paths) {
|
||||
void setImportSearchPaths(
|
||||
const std::vector<SearchPathOptions::SearchPath> &Paths) {
|
||||
SearchPathOpts.setImportSearchPaths(Paths);
|
||||
}
|
||||
|
||||
@@ -196,16 +197,16 @@ public:
|
||||
SearchPathOpts.DeserializedPathRecoverer = obfuscator;
|
||||
}
|
||||
|
||||
ArrayRef<std::string> getImportSearchPaths() const {
|
||||
ArrayRef<SearchPathOptions::SearchPath> getImportSearchPaths() const {
|
||||
return SearchPathOpts.getImportSearchPaths();
|
||||
}
|
||||
|
||||
void setFrameworkSearchPaths(
|
||||
const std::vector<SearchPathOptions::FrameworkSearchPath> &Paths) {
|
||||
const std::vector<SearchPathOptions::SearchPath> &Paths) {
|
||||
SearchPathOpts.setFrameworkSearchPaths(Paths);
|
||||
}
|
||||
|
||||
ArrayRef<SearchPathOptions::FrameworkSearchPath> getFrameworkSearchPaths() const {
|
||||
ArrayRef<SearchPathOptions::SearchPath> getFrameworkSearchPaths() const {
|
||||
return SearchPathOpts.getFrameworkSearchPaths();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user