@@ -2486,8 +2486,8 @@ namespace {
24862486 // that we add this to the parent enum (in the "__ObjC" module) and not
24872487 // to the extension.
24882488 auto parentNS = cast<clang::NamespaceDecl>(decl->getParent ());
2489- auto parent =
2490- Impl. importDecl (parentNS, getVersion (), /* UseCanonicalDecl*/ false );
2489+ Decl * parent = Impl. importDecl (parentNS, getVersion (),
2490+ /* UseCanonicalDecl*/ false );
24912491 // Sometimes when the parent namespace is imported, this namespace
24922492 // also gets imported. If that's the case, then the parent namespace
24932493 // will be an enum (because it was able to be fully imported) in which
@@ -3590,7 +3590,7 @@ namespace {
35903590 }
35913591 }
35923592
3593- auto member = Impl.importDecl (nd, getActiveSwiftVersion ());
3593+ Decl * member = Impl.importDecl (nd, getActiveSwiftVersion ());
35943594 if (!member) {
35953595 if (!isa<clang::TypeDecl>(nd) && !isa<clang::FunctionDecl>(nd)) {
35963596 // We don't know what this member is.
@@ -5938,8 +5938,7 @@ namespace {
59385938 auto name = importedName.getDeclName ().getBaseIdentifier ();
59395939
59405940 if (name.empty ()) return nullptr ;
5941-
5942- auto importedDecl =
5941+ Decl *importedDecl =
59435942 Impl.importDecl (decl->getClassInterface (), getActiveSwiftVersion ());
59445943 auto typeDecl = dyn_cast_or_null<TypeDecl>(importedDecl);
59455944 if (!typeDecl) return nullptr ;
@@ -9990,7 +9989,7 @@ bool ClangImporter::Implementation::addMemberAndAlternatesToExtension(
99909989 return true ;
99919990
99929991 // Then try to import the decl under the specified name.
9993- auto *member = importDecl (decl, nameVersion);
9992+ Decl *member = importDecl (decl, nameVersion);
99949993 if (!member)
99959994 return false ;
99969995
0 commit comments