Skip to content

Commit 2e806b1

Browse files
committed
[SourceKit] Return operator results from related identifiers request
1 parent a24c563 commit 2e806b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,8 +2543,6 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
25432543
(isa<ConstructorDecl>(VD) || isa<DestructorDecl>(VD) ||
25442544
isa<SubscriptDecl>(VD)))
25452545
return RelatedIdentsResult::empty();
2546-
if (VD->isOperator())
2547-
return RelatedIdentsResult::empty();
25482546

25492547
llvm::Optional<RenameInfo> Info = getRenameInfo(CursorInfo);
25502548

0 commit comments

Comments
 (0)