Skip to content

Commit 3c0104d

Browse files
committed
AST: CanDependentMemberType::get() doesn't need the ASTContext
1 parent a0ae8a1 commit 3c0104d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/swift/AST/Types.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5659,8 +5659,7 @@ class DependentMemberType : public TypeBase {
56595659
}
56605660
};
56615661
BEGIN_CAN_TYPE_WRAPPER(DependentMemberType, Type)
5662-
static CanDependentMemberType get(CanType base, AssociatedTypeDecl *assocType,
5663-
const ASTContext &C) {
5662+
static CanDependentMemberType get(CanType base, AssociatedTypeDecl *assocType) {
56645663
return CanDependentMemberType(DependentMemberType::get(base, assocType));
56655664
}
56665665

0 commit comments

Comments
 (0)