Skip to content

Commit 722e7d6

Browse files
committed
Update for removal of clang C++ method parameter
1 parent 639aac7 commit 722e7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/AbstractionPattern.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ AbstractionPattern::getCXXMethodSelfPattern(CanType selfType) const {
367367
// insufficient --- if we have interesting bridging to do to
368368
// 'self' --- we have the right information to be more exact.
369369
auto clangSelfType =
370-
CXXMethod->getThisType(CXXMethod->getASTContext()).getTypePtr();
370+
CXXMethod->getThisType().getTypePtr();
371371
return AbstractionPattern(getGenericSignatureForFunctionComponent(),
372372
selfType, clangSelfType);
373373
}

0 commit comments

Comments
 (0)