git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227012
91177308-0d34-0410-b5e6-
96231b3b80d8
/// \brief Returns underlying DIHeaderFieldIterator.
const DIHeaderFieldIterator &getBase() const { return I; }
/// \brief Returns the next operand.
- const Operand &getNext() const;
+ Operand getNext() const;
};
/// \brief An iterator for DIExpression elements.
return DIExpression::iterator();
}
-const DIExpression::Operand &DIExpression::Operand::getNext() const {
+DIExpression::Operand DIExpression::Operand::getNext() const {
iterator it(I);
return *(++it);
}