Skip to content

ModuleLoader: minor clean-up to remove dead code. NFC #66719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

nkcsgexi
Copy link
Contributor

No description provided.

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

ctx.SearchPathOpts.getSDKPath(),
"System", "Library", "Frameworks");
if (isInSystemFrameworks(modulePath)) {
if (isInSystemFrameworks(modulePath, true)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (isInSystemFrameworks(modulePath, true)) {
if (isInSystemFrameworks(modulePath, /*publicFramework=*/true)) {

Alternatively, you could use an enum to make this value clearer at the call site.

@nkcsgexi nkcsgexi force-pushed the clean-up-framework branch from fe6b6b2 to f4d8761 Compare June 16, 2023 21:59
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi
Copy link
Contributor Author

@swift-ci Please clean test Linux platform

@nkcsgexi
Copy link
Contributor Author

@swift-ci Please test Windows platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants