This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] NFC: Refactor and comment ModuleDeps sorting
ClosedPublic

Authored by jansvoboda11 on Mar 2 2023, 3:01 PM.

Details

Summary

I once again stumbled across IndexedModuleID and was confused by the mutable InputIndex field.

This patch adds comments around that piece of code and unifies/simplifies related functions.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Mar 2 2023, 3:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2023, 3:01 PM
jansvoboda11 requested review of this revision.Mar 2 2023, 3:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2023, 3:01 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Apr 20 2023, 2:07 PM
This revision was landed with ongoing or failed builds.Apr 21 2023, 10:56 AM
This revision was automatically updated to reflect the committed changes.