@@ -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.
@@ -5941,8 +5941,7 @@ namespace {
5941
5941
auto name = importedName.getDeclName ().getBaseIdentifier ();
5942
5942
5943
5943
if (name.empty ()) return nullptr ;
5944
-
5945
- auto importedDecl =
5944
+ Decl *importedDecl =
5946
5945
Impl.importDecl (decl->getClassInterface (), getActiveSwiftVersion ());
5947
5946
auto typeDecl = dyn_cast_or_null<TypeDecl>(importedDecl);
5948
5947
if (!typeDecl) return nullptr ;
@@ -9986,7 +9985,7 @@ bool ClangImporter::Implementation::addMemberAndAlternatesToExtension(
9986
9985
return true ;
9987
9986
9988
9987
// Then try to import the decl under the specified name.
9989
- auto *member = importDecl (decl, nameVersion);
9988
+ Decl *member = importDecl (decl, nameVersion);
9990
9989
if (!member)
9991
9990
return false ;
9992
9991
0 commit comments