Use the name "as requested" for the path of the implemented module's modulemap file, just as we do for other modulemap file paths. This fixes fatal errors with modules where we tried to find framework headers relative to the wrong directory when imported by an implementation file of the same module.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/ClangScanDeps/modules-implementation-vfs.m | ||
---|---|---|
68–69 | What purpose does this check serve? |
clang/test/ClangScanDeps/modules-implementation-vfs.m | ||
---|---|---|
68–69 | Added a comment to explain this check. |
Comment Actions
LGTM.
clang/test/ClangScanDeps/modules-implementation-vfs.m | ||
---|---|---|
68–69 | Makes sense now, thanks! |
What purpose does this check serve?