We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639aac7 commit 722e7d6Copy full SHA for 722e7d6
lib/SIL/AbstractionPattern.cpp
@@ -367,7 +367,7 @@ AbstractionPattern::getCXXMethodSelfPattern(CanType selfType) const {
367
// insufficient --- if we have interesting bridging to do to
368
// 'self' --- we have the right information to be more exact.
369
auto clangSelfType =
370
- CXXMethod->getThisType(CXXMethod->getASTContext()).getTypePtr();
+ CXXMethod->getThisType().getTypePtr();
371
return AbstractionPattern(getGenericSignatureForFunctionComponent(),
372
selfType, clangSelfType);
373
}
0 commit comments