From f21a844f60ae6c74fcf1fddca32461acce3c1ee0 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 6 Nov 2013 16:48:53 +0000 Subject: Import lldb as of SVN r194122 Sponsored by: DARPA, AFRL --- source/Symbol/Variable.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source/Symbol/Variable.cpp') diff --git a/source/Symbol/Variable.cpp b/source/Symbol/Variable.cpp index 36439b561626..7276e0a4a1a2 100644 --- a/source/Symbol/Variable.cpp +++ b/source/Symbol/Variable.cpp @@ -684,11 +684,14 @@ PrivateAutoComplete (StackFrame *frame, VariableList *variable_list = frame->GetVariableList(get_file_globals); - const size_t num_variables = variable_list->GetSize(); - for (size_t i=0; iGetVariableAtIndex(i).get(); - matches.AppendString (variable->GetName().AsCString()); + const size_t num_variables = variable_list->GetSize(); + for (size_t i=0; iGetVariableAtIndex(i).get(); + matches.AppendString (variable->GetName().AsCString()); + } } } } -- cgit v1.3