[cfe-commits] [PATCH] Warn on function-to-bool conversion.

Lang Hames lhames at gmail.com
Mon Nov 28 13:38:23 PST 2011


This patch adds a warning for implicit conversion from functions to
booleans.

Could someone take a look and let me know if anything needs fixing or
improving?

Cheers,
Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111128/d40f869f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: func-as-bool-warning.patch
Type: application/octet-stream
Size: 9142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111128/d40f869f/attachment.obj>


More information about the cfe-commits mailing list