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 {
37213721 CE->getResultType (), E->getLoc (), Where);
37223722 }
37233723 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);
37283726 }
37293727
37303728 if (auto CE = dyn_cast<ExplicitCastExpr>(E)) {
@@ -3952,10 +3950,6 @@ class ExprAvailabilityWalker : public ASTWalker {
39523950 walkInContext (E->getSubExpr (), accessContext);
39533951 }
39543952
3955- bool shouldWalkIntoClosure (AbstractClosureExpr *closure) const {
3956- return true ;
3957- }
3958-
39593953 // / Walk an abstract closure expression, checking for availability
39603954 void walkAbstractClosure (AbstractClosureExpr *closure) {
39613955 // 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