[ObjC][ARC] Don't enter the cleanup scope if the initializer expression
isn't an ExprWithCleanups This patch fixes a bug where a temporary ObjC pointer is released before the end of the full expression. This fixes PR50043. rdar://77030453 Differential Revision: https://reviews.llvm.org/D101502
Loading
Please sign in to comment