[clang][modules] NFC: Simplify and clarify test
authorJan Svoboda <jan_svoboda@apple.com>
Mon, 7 Mar 2022 09:21:30 +0000 (10:21 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Mon, 7 Mar 2022 09:47:46 +0000 (10:47 +0100)
commit242b24c1849165bedb73fb14c8012d1d63ffd344
treed34937621137d9c69dec8107cad7476183de47a7
parentd9633d149022054bdac90bd3d03a240dbdb46f7e
[clang][modules] NFC: Simplify and clarify test

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.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D120463
clang/test/Modules/Inputs/AddRemoveIrrelevantModuleMap/a.modulemap [deleted file]
clang/test/Modules/Inputs/AddRemoveIrrelevantModuleMap/b.modulemap [deleted file]
clang/test/Modules/add-remove-irrelevant-module-map.m