We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5609657 commit 96cf03fCopy full SHA for 96cf03f
lib/SIL/Utils/OwnershipUtils.cpp
@@ -937,7 +937,6 @@ void BorrowedValue::getLocalScopeEndingInstructions(
937
bool BorrowedValue::visitLocalScopeEndingUses(
938
function_ref<bool(Operand *)> visitor) const {
939
assert(isLocalScope() && "Should only call this given a local scope");
940
- SILValue v = value;
941
switch (kind) {
942
case BorrowedValueKind::Invalid:
943
llvm_unreachable("Using invalid case?!");
0 commit comments