Skip to content

Commit 8d7b1a4

Browse files
committed
[ConstraintSystem] NFC: Remove unused reference to ASTContext
1 parent 625abd8 commit 8d7b1a4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,8 +1665,6 @@ ConstraintSystem::getTypeOfReference(ValueDecl *value,
16651665
FunctionRefKind functionRefKind,
16661666
ConstraintLocatorBuilder locator,
16671667
DeclContext *useDC) {
1668-
auto &ctx = getASTContext();
1669-
16701668
if (value->getDeclContext()->isTypeContext() && isa<FuncDecl>(value)) {
16711669
// Unqualified lookup can find operator names within nominal types.
16721670
auto func = cast<FuncDecl>(value);

0 commit comments

Comments
 (0)