Skip to content

Commit 2b820fb

Browse files
committed
Sema: Remove redundant call to validateAccessControl()
1 parent 875d3a4 commit 2b820fb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Sema/TypeCheckDecl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7369,8 +7369,6 @@ void TypeChecker::validateDecl(ValueDecl *D) {
73697369
assocType->setIsBeingValidated();
73707370
SWIFT_DEFER { assocType->setIsBeingValidated(false); };
73717371

7372-
validateAccessControl(assocType);
7373-
73747372
checkDeclAttributesEarly(assocType);
73757373
checkInheritanceClause(assocType);
73767374

0 commit comments

Comments
 (0)