This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][NFC] Remove redundant member from class Defined
ClosedPublic

Authored by gkm on Apr 1 2021, 6:54 PM.

Details

Summary

class Symbol defines a data member InputFile *file;
class Defined inherits from Symbol and also defines a data member InputFile *file; for no apparent purpose.

Diff Detail

Event Timeline

gkm created this revision.Apr 1 2021, 6:54 PM
Herald added a project: Restricted Project. · View Herald Transcript
gkm requested review of this revision.Apr 1 2021, 6:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2021, 6:54 PM
This revision is now accepted and ready to land.Apr 2 2021, 1:13 AM
This revision was automatically updated to reflect the committed changes.

Good catch.