[llvm-commits] [PATCH] Configure: if we compile with clang, check that it is not broken

Dmitri Gribenko gribozavr at gmail.com
Wed Jan 9 07:27:48 PST 2013


On Wed, Jan 9, 2013 at 6:15 AM, Eric Christopher <echristo at gmail.com> wrote:
> This works for me. Thanks for the patch and have at.

Thank you for the review!  I have committed a slightly different
variant of the patch in r171975.  The difference is that
__has_include() was added to check if the header is present at all (I
think cxxabi.h is libstdc++-specific).

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