[Lldb-commits] [PATCH] D88249: [lldb] Make protected ctor and method of SBAddress take a const reference instead of a pointer.
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 24 10:49:26 PDT 2020
JDevlieghere created this revision.
JDevlieghere added reviewers: labath, werat.
JDevlieghere requested review of this revision.
Every call to the protected SBAddress constructor takes the address of a valid object which means we might as well pass it as a const reference instead of a pointer and drop the null check.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6768 bytes
Desc: not available
More information about the lldb-commits