projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c55c9b
)
Fix a bug caught by adding LLVM_NODISCARD to StringRef.
author
Zachary Turner
<zturner@google.com>
Mon, 21 Nov 2016 23:18:13 +0000
(23:18 +0000)
committer
Zachary Turner
<zturner@google.com>
Mon, 21 Nov 2016 23:18:13 +0000
(23:18 +0000)
llvm-svn: 287598
lldb/source/Target/StackFrame.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/StackFrame.cpp
b/lldb/source/Target/StackFrame.cpp
index
8daa649
..
ec30fd6
100644
(file)
--- a/
lldb/source/Target/StackFrame.cpp
+++ b/
lldb/source/Target/StackFrame.cpp
@@
-931,7
+931,7
@@
ValueObjectSP StackFrame::GetValueForVariableExpressionPath(
return ValueObjectSP();
}
- index_expr.drop_front();
+ index_expr
= index_expr
.drop_front();
long final_index = 0;
if (index_expr.getAsInteger(0, final_index)) {
error.SetErrorStringWithFormat("invalid range expression \"'%s'\"",