This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] Migrate ModuleDepCollector to LexedFileChanged NFCI
ClosedPublic

Authored by benlangmuir on Feb 8 2023, 3:39 PM.

Details

Summary

LexedFileChanged has the semantics we want of ignoring #line/etc. It's also consistent with other dep collectors like DependencyFileGenerator.

Diff Detail

Event Timeline

benlangmuir created this revision.Feb 8 2023, 3:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2023, 3:39 PM
benlangmuir requested review of this revision.Feb 8 2023, 3:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2023, 3:39 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 accepted this revision.Feb 9 2023, 9:56 AM

LGTM, but would be nice to have a test for this.

This revision is now accepted and ready to land.Feb 9 2023, 9:56 AM

LGTM, but would be nice to have a test for this.

Oh, I didn't realize we didn't have one already. Added.

LGTM, but would be nice to have a test for this.

Oh, I didn't realize we didn't have one already. Added.

Thanks!