This is an archive of the discontinued LLVM Phabricator instance.

[clang][modules] NFC: Simplify and clarify test
ClosedPublic

Authored by jansvoboda11 on Feb 24 2022, 1:36 AM.

Details

Summary

This patch simplifies a test that checks only used module map files are reported as input files in PCM files.

Instead of using opaque diff, this patch uses clang -module-file-info and FileCheck to verify this.

Diff Detail

Event Timeline

jansvoboda11 requested review of this revision.Feb 24 2022, 1:36 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 24 2022, 1:36 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
dexonsmith accepted this revision.Mar 1 2022, 4:49 PM

LGTM, thanks!

This revision is now accepted and ready to land.Mar 1 2022, 4:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2022, 4:49 PM
This revision was landed with ongoing or failed builds.Mar 7 2022, 1:47 AM
This revision was automatically updated to reflect the committed changes.