mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
swift-api-digester: avoid adding MissingMemberDecl to the json file
We explicitly ignore these ABI placeholders to fix an unreachable hit.
This commit is contained in:
@@ -1553,6 +1553,8 @@ SwiftDeclCollector::addMembersToRoot(SDKNode *Root, IterableDeclContext *Context
|
||||
// All containing variables should have been handled.
|
||||
} else if (isa<DestructorDecl>(Member)) {
|
||||
// deinit has no impact.
|
||||
} else if (isa<MissingMemberDecl>(Member)) {
|
||||
// avoid adding MissingMemberDecl
|
||||
} else {
|
||||
llvm_unreachable("unhandled member decl kind.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user