Make GetValueForVariableExpression use StringRef.
authorZachary Turner <zturner@google.com>
Thu, 17 Nov 2016 01:37:52 +0000 (01:37 +0000)
committerZachary Turner <zturner@google.com>
Thu, 17 Nov 2016 01:37:52 +0000 (01:37 +0000)
commit24bd3178714d8f9f10d0fd4c1a4de2605da20404
treeb2c9f9a717f8c4593468d4b127ef9c3e36d3575b
parent4aa8753c8103f1e1988b79325f957a587c150337
Make GetValueForVariableExpression use StringRef.

Also significantly reduced the indentation level by use of
early returns, and simplified some of the logic by using
StringRef functions such as consumeInteger() and getAsInteger()
instead of strtoll, etc.

llvm-svn: 287189
lldb/include/lldb/Target/StackFrame.h
lldb/source/Target/StackFrame.cpp