@@ -134,8 +134,6 @@ static void diagSyntacticUseRestrictions(const Expr *E, const DeclContext *DC,
134
134
135
135
bool shouldWalkCaptureInitializerExpressions () override { return true ; }
136
136
137
- bool shouldWalkIntoTapExpression () override { return false ; }
138
-
139
137
PreWalkResult<Expr *> walkToExprPre (Expr *E) override {
140
138
// See through implicit conversions of the expression. We want to be able
141
139
// to associate the parent of this expression with the ultimate callee.
@@ -1482,8 +1480,6 @@ static void diagRecursivePropertyAccess(const Expr *E, const DeclContext *DC) {
1482
1480
1483
1481
bool shouldWalkCaptureInitializerExpressions () override { return true ; }
1484
1482
1485
- bool shouldWalkIntoTapExpression () override { return false ; }
1486
-
1487
1483
MacroWalking getMacroWalkingBehavior () const override {
1488
1484
return MacroWalking::Expansion;
1489
1485
}
@@ -1774,8 +1770,6 @@ static void diagnoseImplicitSelfUseInClosure(const Expr *E,
1774
1770
1775
1771
bool shouldWalkCaptureInitializerExpressions () override { return true ; }
1776
1772
1777
- bool shouldWalkIntoTapExpression () override { return false ; }
1778
-
1779
1773
PreWalkResult<Expr *> walkToExprPre (Expr *E) override {
1780
1774
if (auto *CE = dyn_cast<AbstractClosureExpr>(E)) {
1781
1775
// If this is a potentially-escaping closure expression, start looking
@@ -4245,8 +4239,6 @@ static void checkStmtConditionTrailingClosure(ASTContext &ctx, const Expr *E) {
4245
4239
4246
4240
bool shouldWalkCaptureInitializerExpressions () override { return true ; }
4247
4241
4248
- bool shouldWalkIntoTapExpression () override { return false ; }
4249
-
4250
4242
MacroWalking getMacroWalkingBehavior () const override {
4251
4243
return MacroWalking::Expansion;
4252
4244
}
@@ -4376,8 +4368,6 @@ class ObjCSelectorWalker : public ASTWalker {
4376
4368
4377
4369
bool shouldWalkCaptureInitializerExpressions () override { return true ; }
4378
4370
4379
- bool shouldWalkIntoTapExpression () override { return false ; }
4380
-
4381
4371
MacroWalking getMacroWalkingBehavior () const override {
4382
4372
return MacroWalking::Expansion;
4383
4373
}
@@ -5240,8 +5230,6 @@ static void diagnoseUnintendedOptionalBehavior(const Expr *E,
5240
5230
5241
5231
bool shouldWalkCaptureInitializerExpressions () override { return true ; }
5242
5232
5243
- bool shouldWalkIntoTapExpression () override { return false ; }
5244
-
5245
5233
MacroWalking getMacroWalkingBehavior () const override {
5246
5234
return MacroWalking::Expansion;
5247
5235
}
@@ -5321,8 +5309,6 @@ static void diagnoseDeprecatedWritableKeyPath(const Expr *E,
5321
5309
5322
5310
bool shouldWalkCaptureInitializerExpressions () override { return true ; }
5323
5311
5324
- bool shouldWalkIntoTapExpression () override { return false ; }
5325
-
5326
5312
MacroWalking getMacroWalkingBehavior () const override {
5327
5313
return MacroWalking::Expansion;
5328
5314
}
@@ -5617,8 +5603,6 @@ static void diagUnqualifiedAccessToMethodNamedSelf(const Expr *E,
5617
5603
return false ;
5618
5604
}
5619
5605
5620
- bool shouldWalkIntoTapExpression () override { return false ; }
5621
-
5622
5606
MacroWalking getMacroWalkingBehavior () const override {
5623
5607
return MacroWalking::Expansion;
5624
5608
}
@@ -5778,8 +5762,6 @@ diagnoseDictionaryLiteralDuplicateKeyEntries(const Expr *E,
5778
5762
return false ;
5779
5763
}
5780
5764
5781
- bool shouldWalkIntoTapExpression () override { return false ; }
5782
-
5783
5765
MacroWalking getMacroWalkingBehavior () const override {
5784
5766
return MacroWalking::Expansion;
5785
5767
}
0 commit comments