[all-commits] [llvm/llvm-project] 6cd4a4: [lldb] Pass reference instead of pointer in protec...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Sep 25 11:47:27 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6cd4a4cd02dba6aed33c447114587eebf6854c43
https://github.com/llvm/llvm-project/commit/6cd4a4cd02dba6aed33c447114587eebf6854c43
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-09-25 (Fri, 25 Sep 2020)
Changed paths:
M lldb/include/lldb/API/SBAddress.h
M lldb/source/API/SBAddress.cpp
M lldb/source/API/SBBreakpointLocation.cpp
M lldb/source/API/SBFrame.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/API/SBInstruction.cpp
M lldb/source/API/SBLineEntry.cpp
M lldb/source/API/SBQueueItem.cpp
M lldb/source/API/SBSymbol.cpp
M lldb/source/API/SBValue.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list