diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-01-15 09:19:18 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-01-15 09:19:18 +0000 |
commit | 73a272354df69daf1c4869af61e153939b3bbe52 (patch) | |
tree | b4211c97c9c51d89789fdca0acc757b65d7a2f9d /clang/include | |
parent | 226af75a02e2d69cb9dd0371f990df3b2d2b4a01 (diff) |
[llvm-objdump] - Cleanup the code. NFCI.
This is a cosmetic cleanup for the llvm-objdump code.
This patch:
* Renames things to match the official LLVM code style (lower case -> upper case).
* Removes few obviously excessive variables.
* Moves a few lines closer to the place of use, reorders the code a bit to simplify it,
to avoid doing excessive returns and to avoid using 'else` after returns.
I focused only on a llvm-objdump.h/llvm-objdump.cpp files. Few changes in the
MachODump.cpp and COFFDump.cpp are a result of llvm-objdump.h modification.
Differential revision: https://reviews.llvm.org/D56637
llvm-svn: 351171
Diffstat (limited to 'clang/include')
0 files changed, 0 insertions, 0 deletions