From 16662f3c6ea9bd5cb3459b6ad71d52037f4b397a Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 20 Jun 2018 08:12:50 +0000 Subject: BreakpointIDList: Use llvm::ArrayRef instead of pointer+length pair NFC llvm-svn: 335102 --- lldb/source/Commands/CommandObjectBreakpoint.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp') 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. -- cgit v1.2.3