mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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:
@@ -99,7 +99,7 @@ std::optional<bool> forEachModuleSearchPath(
|
||||
callback) {
|
||||
for (const auto &path : Ctx.SearchPathOpts.getImportSearchPaths())
|
||||
if (auto result =
|
||||
callback(path, ModuleSearchPathKind::Import, /*isSystem=*/false))
|
||||
callback(path.Path, ModuleSearchPathKind::Import, path.IsSystem))
|
||||
return result;
|
||||
|
||||
for (const auto &path : Ctx.SearchPathOpts.getFrameworkSearchPaths())
|
||||
|
||||
Reference in New Issue
Block a user