[PATCH] D25909: [analyzer] MacOSXApiChecker: Disallow dispatch_once predicates on heap and in ivars.

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 25 11:17:30 PDT 2016


NoQ updated this revision to Diff 75739.
NoQ marked 2 inline comments as done.
NoQ added a comment.

Consider a lot more dispatch_once_t regions: improve diagnostics for local structs containing predicates, find ivar structs with predicates.

Address a couple of review comments, discuss the rest.


https://reviews.llvm.org/D25909

Files:
  lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
  test/Analysis/dispatch-once.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25909.75739.patch
Type: text/x-patch
Size: 6855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161025/d35cdfc2/attachment.bin>


More information about the cfe-commits mailing list