Remove duplicated code for synthetic array members.
authorBruce Mitchener <bruce.mitchener@gmail.com>
Thu, 26 Feb 2015 23:55:39 +0000 (23:55 +0000)
committerBruce Mitchener <bruce.mitchener@gmail.com>
Thu, 26 Feb 2015 23:55:39 +0000 (23:55 +0000)
commit11d86362ae6e8eb16bbd193a8f6c87f29ae5252b
tree06d5554064e9130585727fc786c08513ec55f1b8
parent4491d0d337a42f34cf5f51a7324ee6e8af8eb5c2
Remove duplicated code for synthetic array members.

Summary:
The code for GetSyntheticArrayMemberFromPointer and
GetSyntheticArrayMemberFromArray was identical, so just collapse the
the methods into one.

Reviewers: granata.enrico, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D7911

llvm-svn: 230708
lldb/include/lldb/Core/ValueObject.h
lldb/source/API/SBValue.cpp
lldb/source/Core/ValueObject.cpp
lldb/source/DataFormatters/NSIndexPath.cpp
lldb/source/Target/StackFrame.cpp