[PATCH] Fix: Relax nullptr C++11 rules in ms-mode

Will Wilson will at indefiant.com
Tue Aug 27 10:05:06 PDT 2013


Hi All,

This patch uses the more relaxed integer expression codepath in
Expr::isNullPointerConstant() when MicrosoftMode is enabled, this reflects
MSVC behavior and is required to compile various cases I've come across in
MSVC targeted code.

Test case included. Built and tested against latest code. Please review and
commit if possible.

Thanks!
Will.

-- 
*Indefiant Ltd.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130827/4e9b32b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: relax_nullptr_conv_msmode.patch
Type: application/octet-stream
Size: 1203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130827/4e9b32b5/attachment.obj>


More information about the cfe-commits mailing list