Merge pull request #22962 from atrick/remove-keypath-attr

Remove references to the unused "keypath.entry" attribute.
This commit is contained in:
Andrew Trick
2019-03-05 13:15:05 -08:00
committed by GitHub
3 changed files with 2 additions and 57 deletions

View File

@@ -597,10 +597,6 @@ bool SILDeclRef::isNoinline() const {
return true;
}
if (auto *attr = decl->getAttrs().getAttribute<SemanticsAttr>())
if (attr->Value.equals("keypath.entry"))
return true;
return false;
}