Skip to content

[clang][modules] Deprecate module.map in favor of module.modulemap #7256

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
Aug 23, 2023

Conversation

Bigcheese
Copy link

This patch deprecates module.map in favor of module.modulemap, which has been the preferred form since 2014. The eventual goal is to remove support for module.map to reduce the number of stats Clang needs to do while searching for module map files.

This patch touches a lot of files, but the majority of them are just renaming tests or references to the file in comments or documentation.

The relevant files are:

  • lib/Lex/HeaderSearch.cpp
  • include/clang/Basic/DiagnosticGroups.td
  • include/clang/Basic/DiagnosticLexKinds.td

@Bigcheese
Copy link
Author

@swift-ci please test

@jansvoboda11
Copy link

LGTM, but some Swift tests are failing, so you won't be able to merge until they're resolved. Also cherry-pick to stable/20230725 please.

This patch deprecates `module.map` in favor of `module.modulemap`,
which has been the preferred form since 2014. The eventual goal is to
remove support for `module.map` to reduce the number of stats Clang
needs to do while searching for module map files.

This patch touches a lot of files, but the majority of them are just
renaming tests or references to the file in comments or documentation.

The relevant files are:
* lib/Lex/HeaderSearch.cpp
* include/clang/Basic/DiagnosticGroups.td
* include/clang/Basic/DiagnosticLexKinds.td
@Bigcheese Bigcheese force-pushed the dev/module.map-depr branch from fd9af6f to 37ce275 Compare August 22, 2023 07:54
@Bigcheese
Copy link
Author

@swift-ci please test

@Bigcheese
Copy link
Author

Linux failure is unrelated :(

@Bigcheese
Copy link
Author

@swift-ci please test

1 similar comment
@Bigcheese
Copy link
Author

@swift-ci please test

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