tools: use references rather than out pointers in COFFDumper
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 25 May 2014 20:26:33 +0000 (20:26 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 25 May 2014 20:26:33 +0000 (20:26 +0000)
commit12d17f4375df43c6d3ca16dfb7bfe2accbc9d4d4
tree8ae3ecd40e1cce79a1380b63cc9c3745878b82ac
parentcec37248b2fb801d43718c810faa1736a1c95b60
tools: use references rather than out pointers in COFFDumper

Switch to use references for parameters that are guaranteed to be non-null.
Simplifies the code a slight bit in preparation for another change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209603 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-readobj/COFFDumper.cpp