aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCheck.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2019-04-29 11:54:10 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2019-04-29 11:54:10 +0000
commit4828811a2d5c48e3225157034de11343e52ea7c6 (patch)
tree205f8459a3b0776acf0c9229b989b4be81918db0 /llvm/lib/Support/FileCheck.cpp
parenta6159a226e4685a25acb76571a88283c5b003dc2 (diff)
downloadllvm-4828811a2d5c48e3225157034de11343e52ea7c6.zip
llvm-4828811a2d5c48e3225157034de11343e52ea7c6.tar.gz
llvm-4828811a2d5c48e3225157034de11343e52ea7c6.tar.bz2
[yaml2obj] - Cleanup and simplify the code. NFCI.
The current code has the following problems: `initSymtabSectionHeader` and `initStrtabSectionHeader` method names saying us they are going to initialize the section headers. Though for a few cases sh_flags field is initialized outside of them. It does not look clean. This patch moves initialization of the sh_flags inside these methods. Also, it removes an excessive variable, what together with the above change hopefully makes the code a bit more readable. llvm-svn: 359443
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions