summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Minidump.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-04-05 07:28:52 +0000
committerPavel Labath <pavel@labath.sk>2019-04-05 07:28:52 +0000
commit94cd06676349f034f005b3284fc161d96baadbea (patch)
tree74927450cec8864950620edf66f74a0a3218935d /llvm/lib/Object/Minidump.cpp
parent94f1772b1e517ba0ea47150eca27f3fe9366f2ec (diff)
downloadbcm5719-llvm-94cd06676349f034f005b3284fc161d96baadbea.tar.gz
bcm5719-llvm-94cd06676349f034f005b3284fc161d96baadbea.zip
PDBFPO: Use references instead of pointers, where possible
Summary: The code was passing pointers around, expecting they would be not null. In c++ it is possible to convey this notion explicitly by using a reference instead. Not all uses of pointers could be converted to references (e.g. one can't store references in a container), but this will at least make it locally obvious that code is dealing with nonnull pointers. Reviewers: aleksandr.urakov, amccarth Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D60271 llvm-svn: 357744
Diffstat (limited to 'llvm/lib/Object/Minidump.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud