@@ -2486,8 +2486,8 @@ namespace {
2486
2486
// that we add this to the parent enum (in the "__ObjC" module) and not
2487
2487
// to the extension.
2488
2488
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 );
2491
2491
// Sometimes when the parent namespace is imported, this namespace
2492
2492
// also gets imported. If that's the case, then the parent namespace
2493
2493
// will be an enum (because it was able to be fully imported) in which
@@ -3590,7 +3590,7 @@ namespace {
3590
3590
}
3591
3591
}
3592
3592
3593
- auto member = Impl.importDecl (nd, getActiveSwiftVersion ());
3593
+ Decl * member = Impl.importDecl (nd, getActiveSwiftVersion ());
3594
3594
if (!member) {
3595
3595
if (!isa<clang::TypeDecl>(nd) && !isa<clang::FunctionDecl>(nd)) {
3596
3596
// We don't know what this member is.
@@ -5938,8 +5938,7 @@ namespace {
5938
5938
auto name = importedName.getDeclName ().getBaseIdentifier ();
5939
5939
5940
5940
if (name.empty ()) return nullptr ;
5941
-
5942
- auto importedDecl =
5941
+ Decl *importedDecl =
5943
5942
Impl.importDecl (decl->getClassInterface (), getActiveSwiftVersion ());
5944
5943
auto typeDecl = dyn_cast_or_null<TypeDecl>(importedDecl);
5945
5944
if (!typeDecl) return nullptr ;
@@ -9990,7 +9989,7 @@ bool ClangImporter::Implementation::addMemberAndAlternatesToExtension(
9990
9989
return true ;
9991
9990
9992
9991
// Then try to import the decl under the specified name.
9993
- auto *member = importDecl (decl, nameVersion);
9992
+ Decl *member = importDecl (decl, nameVersion);
9994
9993
if (!member)
9995
9994
return false ;
9996
9995
0 commit comments