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 9f55dec commit 4a08fc6Copy full SHA for 4a08fc6
lib/ClangImporter/ImportDecl.cpp
@@ -5346,7 +5346,7 @@ Decl *SwiftDeclConverter::importGlobalAsMethod(
5346
dc->getAsNominalTypeOrNominalTypeExtensionContext()) {
5347
if (auto clangDCTy = dyn_cast_or_null<clang::TypedefNameDecl>(
5348
nominalTypeDecl->getClangDecl()))
5349
- if (auto newtypeAttr = getSwiftNewtypeAttr(clangDCTy, getVersion()))
+ if (getSwiftNewtypeAttr(clangDCTy, getVersion()))
5350
if (clangDCTy->getUnderlyingType().getCanonicalType() !=
5351
selfParamTy->getPointeeType().getCanonicalType())
5352
selfIsInOut = false;
0 commit comments