You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -941,24 +935,23 @@ class ObjCPrinter : private DeclVisitor<ObjCPrinter>,
941
935
SourceLoc(),
942
936
UnqualifiedLookup::Flags::TypeLookup);
943
937
if (!specificTypeLookup.getSingleTypeResult()) {
944
-
renamedDecl = nullptr;
945
-
goto printing_rename_attribute;
938
+
returnnullptr;
946
939
}
947
940
948
941
if (typeDecl->getDeclaredInterfaceType()->matches(specificTypeLookup.getSingleTypeResult()->getDeclaredInterfaceType(), TypeMatchFlags::AllowOverride)) {
949
942
// If the Context Name contain the name of the subclass then we would find the renamed in the superclass instead
0 commit comments