forked from OSchip/llvm-project
[llvm] adapt DWARFExpression.h for 6b9b86db9d
No functional changes intended.
Updated the iterator class for 6b9b86db9d
.
Differential Revision: https://reviews.llvm.org/D113934
This commit is contained in:
parent
8f95e915cd
commit
3d1d8c767b
|
@ -107,7 +107,7 @@ public:
|
|||
friend class DWARFExpression;
|
||||
const DWARFExpression *Expr;
|
||||
uint64_t Offset;
|
||||
Operation Op;
|
||||
mutable Operation Op;
|
||||
iterator(const DWARFExpression *Expr, uint64_t Offset)
|
||||
: Expr(Expr), Offset(Offset) {
|
||||
Op.Error =
|
||||
|
@ -124,7 +124,7 @@ public:
|
|||
return Op;
|
||||
}
|
||||
|
||||
class Operation &operator*() {
|
||||
class Operation &operator*() const {
|
||||
return Op;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue