This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Comments and style fixes
ClosedPublic

Authored by int3 on Feb 1 2022, 10:12 AM.

Details

Reviewers
oontvoo
Group Reviewers
Restricted Project
Commits
rG3e951808d538: [lld-macho][nfc] Comments and style fixes
Summary

Added some comments (particularly around finalize() and
finalizeContents()) as well as doing some rephrasing / grammar fixes for
existing comments.

Also did some minor style fixups, such as by putting methods together in
a class definition and having fields of similar types next to each
other.

Diff Detail

Event Timeline

int3 created this revision.Feb 1 2022, 10:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 1 2022, 10:12 AM
int3 requested review of this revision.Feb 1 2022, 10:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 1 2022, 10:12 AM
int3 added inline comments.Feb 1 2022, 10:17 AM
lld/MachO/Driver.h
85

I felt that the overload of the word "section" here made things confusing

oontvoo accepted this revision.Feb 1 2022, 10:19 AM
oontvoo added a subscriber: oontvoo.

LG thanks!

This revision is now accepted and ready to land.Feb 1 2022, 10:19 AM
This revision was landed with ongoing or failed builds.Feb 1 2022, 10:46 AM
This revision was automatically updated to reflect the committed changes.