File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -3721,10 +3721,8 @@ class ExprAvailabilityWalker : public ASTWalker {
3721
3721
CE->getResultType (), E->getLoc (), Where);
3722
3722
}
3723
3723
if (AbstractClosureExpr *closure = dyn_cast<AbstractClosureExpr>(E)) {
3724
- if (shouldWalkIntoClosure (closure)) {
3725
- walkAbstractClosure (closure);
3726
- return Action::SkipChildren (E);
3727
- }
3724
+ walkAbstractClosure (closure);
3725
+ return Action::SkipChildren (E);
3728
3726
}
3729
3727
3730
3728
if (auto CE = dyn_cast<ExplicitCastExpr>(E)) {
@@ -3952,10 +3950,6 @@ class ExprAvailabilityWalker : public ASTWalker {
3952
3950
walkInContext (E->getSubExpr (), accessContext);
3953
3951
}
3954
3952
3955
- bool shouldWalkIntoClosure (AbstractClosureExpr *closure) const {
3956
- return true ;
3957
- }
3958
-
3959
3953
// / Walk an abstract closure expression, checking for availability
3960
3954
void walkAbstractClosure (AbstractClosureExpr *closure) {
3961
3955
// Do the walk with the closure set as the decl context of the 'where'
You can’t perform that action at this time.
0 commit comments