File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
branches/tensorflow-next/lib/IDE Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1461,4 +1461,4 @@ refs/heads/master-rebranch: 86e95c23aa0d37f24ec138b7853146c1cead2e40
1461
1461
refs/heads/rdar-53901732: 9bd06af3284e18a109cdbf9aa59d833b24eeca7b
1462
1462
refs/heads/revert-26776-subst-always-returns-a-type: 1b8e18fdd391903a348970a4c848995d4cdd789c
1463
1463
refs/heads/tensorflow-merge: 8b854f62f80d4476cb383d43c4aac2001dde3cec
1464
- refs/heads/tensorflow-next: 606228e1aebca383649ecef49eb3bb55b845720a
1464
+ refs/heads/tensorflow-next: 8b4e4c811eac673d09f925f869b54c3ba591b6de
Original file line number Diff line number Diff line change @@ -368,15 +368,15 @@ static bool collectPossibleCalleesForApply(
368
368
369
369
if (auto *DRE = dyn_cast<DeclRefExpr>(fnExpr)) {
370
370
if (auto *decl = DRE->getDecl ()) {
371
- auto declType = decl->getInterfaceType ();
372
- if (auto *funcType = declType ->getAs <AnyFunctionType>())
373
- candidates.emplace_back (funcType, decl);
371
+ if ( decl->hasInterfaceType ())
372
+ if (auto *funcType = decl-> getInterfaceType () ->getAs <AnyFunctionType>())
373
+ candidates.emplace_back (funcType, decl);
374
374
}
375
375
} else if (auto *OSRE = dyn_cast<OverloadSetRefExpr>(fnExpr)) {
376
376
for (auto *decl : OSRE->getDecls ()) {
377
- auto declType = decl->getInterfaceType ();
378
- if (auto *funcType = declType ->getAs <AnyFunctionType>())
379
- candidates.emplace_back (funcType, decl);
377
+ if ( decl->hasInterfaceType ())
378
+ if (auto *funcType = decl-> getInterfaceType () ->getAs <AnyFunctionType>())
379
+ candidates.emplace_back (funcType, decl);
380
380
}
381
381
} else if (auto *UDE = dyn_cast<UnresolvedDotExpr>(fnExpr)) {
382
382
collectPossibleCalleesByQualifiedLookup (
You can’t perform that action at this time.
0 commit comments