This is an archive of the discontinued LLVM Phabricator instance.

[clang][modules] Handle explicit modules when checking for .Private -> _Private
ClosedPublic

Authored by benlangmuir on Apr 3 2023, 3:24 PM.

Details

Summary

While we eventually want to remove the mapping from .Private to _Private modules, until we do, ensure that it behaves the same for explicit modules.

rdar://107449872

Diff Detail

Event Timeline

benlangmuir created this revision.Apr 3 2023, 3:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2023, 3:24 PM
benlangmuir requested review of this revision.Apr 3 2023, 3:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2023, 3:24 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 added inline comments.Apr 3 2023, 3:49 PM
clang/test/Modules/implicit-private-with-submodule-explicit.m
10

Can we also test the -fmodule-file=<path> mode? I assume it doesn't go through the changed code path, but having extra test coverage could be useful.

Also test eagerly-loaded pcm

Upload correct diff this time

This revision is now accepted and ready to land.Apr 3 2023, 4:30 PM