summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-06-22 17:38:30 +0000
committerGreg Clayton <gclayton@apple.com>2015-06-22 17:38:30 +0000
commit7d1483f51cc6a6ecb6e1802567592daf841f463d (patch)
tree3fed75ed2e42cbb8c6709f6a23a256967f6ac768 /llvm/lib/MC/ELFObjectWriter.cpp
parent610962061f72c20ca08dfdc4eb31ec3901f4f905 (diff)
downloadbcm5719-llvm-7d1483f51cc6a6ecb6e1802567592daf841f463d.tar.gz
bcm5719-llvm-7d1483f51cc6a6ecb6e1802567592daf841f463d.zip
Cleanup the code a bit to make it more readable.
Add some if/then to avoid calling a function to get dynamic/synthetic types if we know we aren't going to need to call it. Avoid calling a function that returns a shared pointer twice: once for testing it and once for assigning it (even though that shared pointer is cached inside the value object), it just makes the code a bit clearer. llvm-svn: 240299
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud