Szelethus marked 2 inline comments as done. Szelethus added inline comments.
================ Comment at: www/analyzer/available_checks.html:1119 +<div class="example"><pre> +<!-- TODO: Add examples. --> +</pre></div></div></td></tr> ---------------- george.karpenkov wrote: > Top of the checker file has a somewhat reasonable description: > > // A checker for detecting leaks resulting from allocating temporary > // autoreleased objects before starting the main run loop. > // > // Checks for two antipatterns: > // 1. ObjCMessageExpr followed by [[NSRunLoop mainRunLoop] run] in the same > // autorelease pool. > // 2. ObjCMessageExpr followed by [[NSRunLoop mainRunLoop] run] in no > // autorelease pool. > // > // Any temporary objects autoreleased in code called in those expressions > // will not be deallocated until the program exits, and are effectively leaks. > Should be come up with an example for this one too then? https://reviews.llvm.org/D53069 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits