File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -344,9 +344,6 @@ class ASTScopeImpl {
344
344
virtual NullablePtr<ASTScopeImpl> insertionPointForDeferredExpansion ();
345
345
virtual SourceRange sourceRangeForDeferredExpansion () const ;
346
346
347
- public:
348
- bool isATypeDeclScope () const ;
349
-
350
347
private:
351
348
virtual ScopeCreator &getScopeCreator ();
352
349
Original file line number Diff line number Diff line change @@ -1424,11 +1424,6 @@ AbstractPatternEntryScope::AbstractPatternEntryScope(
1424
1424
" out of bounds" );
1425
1425
}
1426
1426
1427
- bool ASTScopeImpl::isATypeDeclScope () const {
1428
- Decl *const pd = getDeclIfAny ().getPtrOrNull ();
1429
- return pd && (isa<NominalTypeDecl>(pd) || isa<ExtensionDecl>(pd));
1430
- }
1431
-
1432
1427
#pragma mark new operators
1433
1428
void *ASTScopeImpl::operator new (size_t bytes, const ASTContext &ctx,
1434
1429
unsigned alignment) {
You can’t perform that action at this time.
0 commit comments