This is an archive of the discontinued LLVM Phabricator instance.

Inline a small function.
ClosedPublic

Authored by ruiu on Dec 13 2017, 2:16 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Dec 13 2017, 2:16 PM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 13 2017, 2:54 PM
Closed by commit rL320652: Inline a small function. (authored by ruiu). · Explain Why
This revision was automatically updated to reflect the committed changes.
sbc100 added a subscriber: sbc100.Dec 13 2017, 3:42 PM
sbc100 added inline comments.
lld/trunk/ELF/InputFiles.cpp
609

Why is inlining this better? Isn't it generally considered better for comprehension to have smaller, well-named functions?

Also, out of curiosity, why all use of this-> in this file? Just a local coding style or some kind of ambiguity resolution?