[cfe-commits] [Patch] Checker for assignment of non-Boolean value to Boolean variable

Ryan Govostes rzg at apple.com
Wed Dec 7 17:53:37 PST 2011


Hello,

Please find attached a new checker for the static analyzer that warns on the assignment of a non-Boolean value to a variable with a Boolean data type. It supports Boolean data types defined by C++, C99, and Objective-C as well as those in stdbool.h and MacTypes.h.

Thanks,
Ryan Govostes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: BoolAssignmentChecker.diff
Type: application/octet-stream
Size: 10595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111207/8cc71eaf/attachment.obj>


More information about the cfe-commits mailing list