File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ struct BorrowingOperand {
473
473
474
474
// / If this operand's user has a single borrowed value result return a
475
475
// / valid BorrowedValue instance.
476
- BorrowedValue getBorrowIntroducingUserResult ();
476
+ BorrowedValue getBorrowIntroducingUserResult () const ;
477
477
478
478
// / Compute the implicit uses that this borrowing operand "injects" into the
479
479
// / set of its operands uses.
Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ bool BorrowingOperand::visitBorrowIntroducingUserResults(
729
729
llvm_unreachable (" Covered switch isn't covered?!" );
730
730
}
731
731
732
- BorrowedValue BorrowingOperand::getBorrowIntroducingUserResult () {
732
+ BorrowedValue BorrowingOperand::getBorrowIntroducingUserResult () const {
733
733
switch (kind) {
734
734
case BorrowingOperandKind::Invalid:
735
735
case BorrowingOperandKind::Apply:
You can’t perform that action at this time.
0 commit comments