diff options
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 9b5a9c3da47..88f7e33b7dc 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -170,7 +170,7 @@ DIExpression::iterator DIExpression::end() const { return DIExpression::iterator(); } -const DIExpression::Operand &DIExpression::Operand::getNext() const { +DIExpression::Operand DIExpression::Operand::getNext() const { iterator it(I); return *(++it); } |