Add the new Args / entry-access API.
authorZachary Turner <zturner@google.com>
Mon, 21 Nov 2016 23:18:07 +0000 (23:18 +0000)
committerZachary Turner <zturner@google.com>
Mon, 21 Nov 2016 23:18:07 +0000 (23:18 +0000)
commit1c55c9b5bf820a25ecf040fc3a5a1488b1d65cb2
tree2ca0a559a8f8c36f3055919c15f379cfaf71df79
parentc2cd4e004c4b34d8be0333b3dfe80831661bf11d
Add the new Args / entry-access API.

The long-term goal here is to get rid of the functions
GetArgumentAtIndex() and GetQuoteCharAtIndex(), instead
replacing them with operator based access and range-based for
enumeration.  There are a lot of callsites, though, so the
changes will be done incrementally, starting with this one.

Differential Revision: https://reviews.llvm.org/D26883

llvm-svn: 287597
lldb/include/lldb/Interpreter/Args.h
lldb/source/Breakpoint/BreakpointIDList.cpp
lldb/source/Commands/CommandObjectCommands.cpp
lldb/source/Commands/CommandObjectFrame.cpp
lldb/source/Commands/CommandObjectProcess.cpp
lldb/source/Commands/CommandObjectSettings.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/OptionValueDictionary.cpp