[cfe-commits] [PATCH] Convert ad-hoc assertions in test/SemaCXX/nullptr.cpp to static_assert

Dmitri Gribenko gribozavr at gmail.com
Tue Feb 14 15:37:32 PST 2012


Attached patch converts `int array[expr ? -1 : 1]' assertions in C++11
test to static_assert.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-semacxx-nullptr-convert-to-static_assert.patch
Type: text/x-patch
Size: 2014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120215/0b734893/attachment.bin>

More information about the cfe-commits mailing list