diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-09-25 11:15:44 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-09-25 11:47:05 -0700 |
commit | 6cd4a4cd02dba6aed33c447114587eebf6854c43 (patch) | |
tree | 4e5ab6fdef33255df095a187f3c80c75145e91e5 /lldb/unittests/ScriptInterpreter/Python | |
parent | 89fe083c197951a1380ee70e9e36e2aa95659da5 (diff) | |
download | llvm-6cd4a4cd02dba6aed33c447114587eebf6854c43.zip llvm-6cd4a4cd02dba6aed33c447114587eebf6854c43.tar.gz llvm-6cd4a4cd02dba6aed33c447114587eebf6854c43.tar.bz2 |
[lldb] Pass reference instead of pointer in protected SBAddress methods.
Every call to the protected SBAddress constructor and the SetAddress
method 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.
Differential revision: https://reviews.llvm.org/D88249
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions