mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Track the minimum deployment target and use it for 'unavailable' computations.
Swift SVN r20955
This commit is contained in:
@@ -183,7 +183,7 @@ void swift::ide::printSubmoduleInterface(
|
||||
// buckets.
|
||||
for (Decl *D : Decls) {
|
||||
// If requested, skip unavailable declarations.
|
||||
if (Options.SkipUnavailable && D->getAttrs().isUnavailable())
|
||||
if (Options.SkipUnavailable && D->getAttrs().isUnavailable(SwiftContext))
|
||||
continue;
|
||||
|
||||
// Skip declarations that are not accessible.
|
||||
|
||||
Reference in New Issue
Block a user