Convert some StringExtractor functions to accept MutableArrayRefs.
authorZachary Turner <zturner@google.com>
Tue, 30 Aug 2016 18:12:11 +0000 (18:12 +0000)
committerZachary Turner <zturner@google.com>
Tue, 30 Aug 2016 18:12:11 +0000 (18:12 +0000)
commitd08f09c1130acc528cf5f417bcf9f9de4dd4b27d
treecbf9510969c7484ad4296d217397b361ca1d63f4
parentb7668d516443231cba62e29786463587b61f90bb
Convert some StringExtractor functions to accept MutableArrayRefs.

MutableArrayRef<T> is essentially a safer version of passing around
(T*, length) pairs and provides some convenient functions for working
with the data without having to manually manipulate indices.

This is a minor NFC.

llvm-svn: 280123
lldb/include/lldb/Core/DataBuffer.h
lldb/include/lldb/Utility/StringExtractor.h
lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Utility/StringExtractor.cpp
lldb/unittests/Utility/StringExtractorTest.cpp