llvm-project
9da02e75 - Revert "[clang][Modules] Reporting Errors for Duplicating Link Declar… (#157154)

Commit
171 days ago
Revert "[clang][Modules] Reporting Errors for Duplicating Link Declar… (#157154) …ations in `modulemap`s (#148959)" This reverts commit 538e9e8ebd09233b3900ed2dfd23e4e1ca5c9fc0 for two reasons. 1. Link decls in submodules can make sense even if the submodule is not explicit. We need to review the error check. This PR reverts the check so we still allow link decls in submodules. 2. It is not a fatal error to have duplicating link decls. The linker deduplicates them anyways. rdar://159467837
Author
Parents
Loading