[PATCH] D67143: [llvm-objcopy] Rename variable names "Section" to "Sec". NFC
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 22:50:19 PDT 2019
MaskRay created this revision.
MaskRay added reviewers: alexshap, grimar, jakehehrlich, jhenderson, rupprecht.
Herald added subscribers: llvm-commits, seiya, abrachet, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
"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.
Repository:
rL LLVM
https://reviews.llvm.org/D67143
Files:
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
tools/llvm-objcopy/ELF/Object.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67143.218594.patch
Type: text/x-patch
Size: 10801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/44ec44d6/attachment.bin>
More information about the llvm-commits
mailing list