"Section" can refer to the type llvm::objcopy::elf::Section or the
variable name. Rename it to "Sec" for clarity. "Sec" is already used a
lot, so this change improves consistency as well.
Also change auto to const SectionBase for readability.
Paths
| Differential D67143
[llvm-objcopy] Rename variable names "Section" to "Sec". NFC ClosedPublic Authored by MaskRay on Sep 3 2019, 10:50 PM.
Details Summary "Section" can refer to the type llvm::objcopy::elf::Section or the Also change auto to const SectionBase for readability.
Diff Detail
Event TimelineComment Actions LGTM
This revision is now accepted and ready to land.Sep 4 2019, 1:34 AM Closed by commit rL370852: [llvm-objcopy] Rename variable names "Section" to "Sec". NFC (authored by MaskRay). · Explain WhySep 4 2019, 1:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 218609 llvm/trunk/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp
|