mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Use DeclAttributes::isDeprecated in a few more places.
This commit is contained in:
@@ -4230,7 +4230,7 @@ findImportedCaseWithMatchingSuffix(Type instanceTy, DeclNameRef name) {
|
||||
|
||||
// Is one more available than the other?
|
||||
WORSE(->getAttrs().isUnavailable(ctx));
|
||||
WORSE(->getAttrs().getDeprecated(ctx));
|
||||
WORSE(->getAttrs().isDeprecated(ctx));
|
||||
|
||||
// Does one have a shorter name (so the non-matching prefix is shorter)?
|
||||
WORSE(->getName().getBaseName().userFacingName().size());
|
||||
|
||||
Reference in New Issue
Block a user