[cfe-commits] [PATCH] PR12290: introducing overflow builtins

Dmitri Gribenko gribozavr at gmail.com
Mon Dec 31 08:17:10 PST 2012


On Mon, Dec 31, 2012 at 5:30 AM, Xi Wang <xi.wang at gmail.com> wrote:
> The attached patch is rebased on the latest trunk for reviewing.
>
> - Move the documentation to Sphinx.
>
> You can also review the changes at:
>
> https://github.com/xiw/clang/compare/builtin-overflow

+  TheCall->setType(Context.BoolTy);

There are no tests for the return type.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list