Skip to content

Commit 2d1c6f5

Browse files
committed
AST: Remove redundant call to getASTContext()
1 parent 15973e3 commit 2d1c6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/ASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5875,7 +5875,7 @@ ASTContext::getOpenedExistentialSignature(Type type, GenericSignature parentSig)
58755875
return found->second;
58765876

58775877
auto genericParam = OpenedArchetypeType::getSelfInterfaceTypeFromContext(
5878-
canParentSig, type->getASTContext())
5878+
canParentSig, *this)
58795879
->castTo<GenericTypeParamType>();
58805880
Requirement requirement(RequirementKind::Conformance, genericParam,
58815881
constraint);

0 commit comments

Comments
 (0)