We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fdf2ad commit ea10ed0Copy full SHA for ea10ed0
lib/Sema/TypeCheckAccess.cpp
@@ -182,7 +182,7 @@ void AccessControlCheckerBase::checkTypeAccessImpl(
182
return;
183
// Don't spend time checking local declarations; this is always valid by the
184
// time we get to this point.
185
- if (contextAccessScope.isInternalOrLess() &&
+ if (contextAccessScope.isInContext() &&
186
contextAccessScope.getDeclContext()->isLocalContext())
187
188
0 commit comments