Skip to content

Commit 37a7dce

Browse files
committed
remove dead code.NFC
1 parent 0191db3 commit 37a7dce

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tools/swift-api-digester/swift-api-digester.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -362,22 +362,6 @@ static raw_ostream &operator<<(raw_ostream &Out, const DeclKind Value) {
362362
llvm_unreachable("Unhandled DeclKind in switch.");
363363
}
364364

365-
/// We don't dump individual extension declaration in the digester. However,
366-
/// we still want to detect whether an extension's applicability changes. Therefore,
367-
/// by using ParentExtensionInfo, we keep track of extension's information in
368-
/// each member of the extension.
369-
class ParentExtensionInfo {
370-
friend struct SDKNodeInitInfo;
371-
friend class SDKNode;
372-
std::vector<StringRef> Requirements;
373-
374-
void *operator new(size_t Bytes, SDKContext &C) {
375-
return C.allocator().Allocate<ParentExtensionInfo>();
376-
}
377-
public:
378-
ArrayRef<StringRef> getGenericRequirements() const { return Requirements; }
379-
};
380-
381365
/// The additional information we need to create a type node.
382366
struct TypeInitInfo {
383367
bool IsImplicitlyUnwrappedOptional = false;

0 commit comments

Comments
 (0)