summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-30 18:00:45 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-30 18:00:45 +0000
commitb7668d516443231cba62e29786463587b61f90bb (patch)
tree8d1976971db0032d456bf94fac85fd95c14a1883 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent63f71057c0671ed3d06a9e939b7c360996d45623 (diff)
downloadbcm5719-llvm-b7668d516443231cba62e29786463587b61f90bb.tar.gz
bcm5719-llvm-b7668d516443231cba62e29786463587b61f90bb.zip
ADT: Guarantee transferNodesFromList is only called on transfers
Guarantee that ilist_traits<T>::transferNodesFromList is only called when nodes are actually changing lists. I also moved all the callbacks to occur *first*, before the operation. This is the only choice for iplist<T>::merge, so we might as well be consistent. I expect this to have no effect in practice, although it simplifies the logic in both iplist<T>::transfer and iplist<T>::insert. llvm-svn: 280122
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud