Skip to content

Commit ea10ed0

Browse files
committed
rename
1 parent 3fdf2ad commit ea10ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckAccess.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void AccessControlCheckerBase::checkTypeAccessImpl(
182182
return;
183183
// Don't spend time checking local declarations; this is always valid by the
184184
// time we get to this point.
185-
if (contextAccessScope.isInternalOrLess() &&
185+
if (contextAccessScope.isInContext() &&
186186
contextAccessScope.getDeclContext()->isLocalContext())
187187
return;
188188

0 commit comments

Comments
 (0)