Skip to content

Commit 3d1d8c7

Browse files
committed
[llvm] adapt DWARFExpression.h for 6b9b86d
No functional changes intended. Updated the iterator class for 6b9b86d. Differential Revision: https://reviews.llvm.org/D113934
1 parent 8f95e91 commit 3d1d8c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class DWARFExpression {
107107
friend class DWARFExpression;
108108
const DWARFExpression *Expr;
109109
uint64_t Offset;
110-
Operation Op;
110+
mutable Operation Op;
111111
iterator(const DWARFExpression *Expr, uint64_t Offset)
112112
: Expr(Expr), Offset(Offset) {
113113
Op.Error =
@@ -124,7 +124,7 @@ class DWARFExpression {
124124
return Op;
125125
}
126126

127-
class Operation &operator*() {
127+
class Operation &operator*() const {
128128
return Op;
129129
}
130130

0 commit comments

Comments
 (0)