Skip to content

[clang][DependencyScanner] Remove unused -fmodule-map-file arguments #8089

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

Conversation

Bigcheese
Copy link

Since we already add a -fmodule-map-file= argument for every used modulemap, we can remove all ModuleMapFiles entries before adding them.

This reduces the number of module variants when -fmodule-map-file= appears on the original command line.

llvm#80090
rdar://121945037

(cherry picked from commit c003d85)

…lvm#80090)

Since we already add a `-fmodule-map-file=` argument for every used
modulemap, we can remove all `ModuleMapFiles` entries before adding
them.

This reduces the number of module variants when `-fmodule-map-file=`
appears on the original command line.

rdar://121945037

(cherry picked from commit c003d85)
@Bigcheese Bigcheese requested a review from artemcm January 31, 2024 20:51
@Bigcheese
Copy link
Author

@swift-ci test

@Bigcheese Bigcheese merged commit 64311f9 into swiftlang:stable/20230725 Feb 1, 2024
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