[Gardening] Change calls of getName().isOperator() to isOperator()

This commit is contained in:
Alex Hoppen
2017-03-05 16:19:28 +00:00
parent 7af65d9e09
commit 1b7055db5a
9 changed files with 11 additions and 12 deletions

View File

@@ -1710,7 +1710,7 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
isa<DestructorDecl>(VD) ||
isa<SubscriptDecl>(VD)))
return;
if (VD->getName().isOperator())
if (VD->isOperator())
return;
RelatedIdScanner Scanner(SrcFile, BufferID, VD, Ranges);