Skip to content

Commit c48a638

Browse files
committed
Fix assert
1 parent 54f9cae commit c48a638

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Refactoring/Refactoring.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,7 @@ class RenameRangeCollector : public IndexDataConsumer {
661661
assert(existingLoc->OldName == loc->OldName &&
662662
existingLoc->NewName == loc->NewName &&
663663
existingLoc->IsFunctionLike == loc->IsFunctionLike &&
664-
existingLoc->IsNonProtocolType ==
665-
existingLoc->IsNonProtocolType &&
664+
existingLoc->IsNonProtocolType == loc->IsNonProtocolType &&
666665
"Asked to do a different rename for the same location?");
667666
}
668667
}

0 commit comments

Comments
 (0)