[cfe-commits] patch: implement nonnull on overloaded binary operators

Nick Lewycky nlewycky at google.com
Wed Jan 23 17:15:51 PST 2013


GCC supports attribute nonnull on overloaded operators, but clang doesn't.
This patch adds support to the code path around binary operators, as I
don't think it's possible to make it fire on overloaded unary operators.

Please review!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130123/eef96a30/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nonnull-cxxoperators-1.patch
Type: application/octet-stream
Size: 1368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130123/eef96a30/attachment.obj>


More information about the cfe-commits mailing list