danzimm added a comment.

@rjmccall ah right, good point -- I think it's ok to elide that 
objc_retainAutoreleasedReturnValue/objc_autoreleaseReturnValue pair in this 
case though, since all of this is generated within clang itself (and thus we 
can make the guarentee that the object will properly live until the return of 
the enclosing block) -- it reduces retain count churn this way too


Repository:
  rC Clang

https://reviews.llvm.org/D41050



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to