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 {
344344 virtual NullablePtr<ASTScopeImpl> insertionPointForDeferredExpansion ();
345345 virtual SourceRange sourceRangeForDeferredExpansion () const ;
346346
347- public:
348- bool isATypeDeclScope () const ;
349-
350347private:
351348 virtual ScopeCreator &getScopeCreator ();
352349
Original file line number Diff line number Diff line change @@ -1424,11 +1424,6 @@ AbstractPatternEntryScope::AbstractPatternEntryScope(
14241424 " out of bounds" );
14251425}
14261426
1427- bool ASTScopeImpl::isATypeDeclScope () const {
1428- Decl *const pd = getDeclIfAny ().getPtrOrNull ();
1429- return pd && (isa<NominalTypeDecl>(pd) || isa<ExtensionDecl>(pd));
1430- }
1431-
14321427#pragma mark new operators
14331428void *ASTScopeImpl::operator new (size_t bytes, const ASTContext &ctx,
14341429 unsigned alignment) {
You can’t perform that action at this time.
0 commit comments