@@ -1592,8 +1592,8 @@ private module Impl {
15921592 )
15931593 }
15941594
1595- private Element getImmediateChildOfOverloadSetRefExpr (
1596- OverloadSetRefExpr e , int index , string partialPredicateCall
1595+ private Element getImmediateChildOfOverloadedDeclRefExpr (
1596+ OverloadedDeclRefExpr e , int index , string partialPredicateCall
15971597 ) {
15981598 exists ( int b , int bExpr , int n |
15991599 b = 0 and
@@ -2621,22 +2621,6 @@ private module Impl {
26212621 )
26222622 }
26232623
2624- private Element getImmediateChildOfOverloadedDeclRefExpr (
2625- OverloadedDeclRefExpr e , int index , string partialPredicateCall
2626- ) {
2627- exists ( int b , int bOverloadSetRefExpr , int n |
2628- b = 0 and
2629- bOverloadSetRefExpr =
2630- b + 1 + max ( int i | i = - 1 or exists ( getImmediateChildOfOverloadSetRefExpr ( e , i , _) ) | i ) and
2631- n = bOverloadSetRefExpr and
2632- (
2633- none ( )
2634- or
2635- result = getImmediateChildOfOverloadSetRefExpr ( e , index - b , partialPredicateCall )
2636- )
2637- )
2638- }
2639-
26402624 private Element getImmediateChildOfParenExpr ( ParenExpr e , int index , string partialPredicateCall ) {
26412625 exists ( int b , int bIdentityExpr , int n |
26422626 b = 0 and
@@ -5028,6 +5012,8 @@ private module Impl {
50285012 or
50295013 result = getImmediateChildOfOtherConstructorDeclRefExpr ( e , index , partialAccessor )
50305014 or
5015+ result = getImmediateChildOfOverloadedDeclRefExpr ( e , index , partialAccessor )
5016+ or
50315017 result = getImmediateChildOfPackExpr ( e , index , partialAccessor )
50325018 or
50335019 result = getImmediateChildOfPropertyWrapperValuePlaceholderExpr ( e , index , partialAccessor )
@@ -5140,8 +5126,6 @@ private module Impl {
51405126 or
51415127 result = getImmediateChildOfOptionalTryExpr ( e , index , partialAccessor )
51425128 or
5143- result = getImmediateChildOfOverloadedDeclRefExpr ( e , index , partialAccessor )
5144- or
51455129 result = getImmediateChildOfParenExpr ( e , index , partialAccessor )
51465130 or
51475131 result = getImmediateChildOfPointerToPointerExpr ( e , index , partialAccessor )
0 commit comments