summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-20 08:12:50 +0000
committerPavel Labath <labath@google.com>2018-06-20 08:12:50 +0000
commit16662f3c6ea9bd5cb3459b6ad71d52037f4b397a (patch)
tree590ca58876b8eac18ba17109e48ab39f44da0708 /lldb/source/Commands/CommandObjectBreakpoint.cpp
parent42a1ff11fb10040375067018bd517e85711e7f5d (diff)
downloadbcm5719-llvm-16662f3c6ea9bd5cb3459b6ad71d52037f4b397a.tar.gz
bcm5719-llvm-16662f3c6ea9bd5cb3459b6ad71d52037f4b397a.zip
BreakpointIDList: Use llvm::ArrayRef instead of pointer+length pair
NFC llvm-svn: 335102
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 79b92dc446d..fb0553e482d 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -2573,8 +2573,7 @@ void CommandObjectMultiwordBreakpoint::VerifyIDs(Args &args, Target *target,
// NOW, convert the list of breakpoint id strings in TEMP_ARGS into an actual
// BreakpointIDList:
- valid_ids->InsertStringArray(temp_args.GetConstArgumentVector(),
- temp_args.GetArgumentCount(), result);
+ valid_ids->InsertStringArray(temp_args.GetArgumentArrayRef(), result);
// At this point, all of the breakpoint ids that the user passed in have
// been converted to breakpoint IDs and put into valid_ids.
OpenPOWER on IntegriCloud