[cfe-commits] [PATCH] Optimize NumericLiteralParser::GetIntegerValue()

Dmitri Gribenko gribozavr at gmail.com
Tue Sep 25 12:11:38 PDT 2012


On Tue, Sep 25, 2012 at 9:47 PM, Jordan Rose <jordan_rose at apple.com> wrote:
> Seems like a good idea. The llvm_unreachable should probably be in a default case, though, to pacify -Wswitch-whatever. Radices are not enums. :-)

Thank you for looking at this!  Committed r164624 with proposed changes.

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