[clang] [clang] Emit #embed missing file error even with -MD (PR #247362)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 1 09:49:01 PST 2026
AaronBallman wrote:
> > Can you also add a test with RUN lines showing the difference in diagnostic behavior between -MD and -MM (or others)?
>
> @AaronBallman The coverage for this difference already exists implicitly, but in separate tests: the updated tests in this PR check the error from `-MD` (lowered to -MT -dependency-file), and the test you updated in [2e89b71](https://github.com/llvm/llvm-project/commit/2e89b71906307d7394be503e07939a42d4449d51) (clang/test/Driver/mg.c) covers `-M -MG` with no error. Did you want to additionally see a test with both behaviours in one file? I can add that, but I'm on the fence whether that adds clarity or is redundant, so I wanted to confirm first.
No need to add if we're already got existing coverage. Thank you!
https://github.com/llvm/llvm-project/pull/247362
More information about the cfe-commits
mailing list