[PATCH] RE: r174768 - Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h.

Dmitri Gribenko gribozavr at gmail.com
Tue Feb 12 10:17:57 PST 2013


On Tue, Feb 12, 2013 at 11:50 AM, Benyei, Guy <guy.benyei at intel.com> wrote:
> Hi,
> Attached a patch for this rather mechanic fix.
> Please review.

This looks fragile indeed (easy to reintroduce the bugs).  Maybe we
could introduce wrappers and add an explanation there?

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 llvm-commits mailing list