[PATCH] D26159: [analyzer] MacOSXAPIChecker: Improve warning messages for __block vars in dispatch_once().

Devin Coughlin via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 31 13:26:21 PDT 2016


dcoughlin accepted this revision.
dcoughlin added a comment.
This revision is now accepted and ready to land.

LGTM.

We should probably be warning any time the address of a block variable is taken since the address is not stable -- but that's a job for a different checker or possibly even Sema.


https://reviews.llvm.org/D26159





More information about the cfe-commits mailing list