[cfe-commits] r171760 - in /cfe/trunk: include/clang/AST/CMakeLists.txt include/clang/AST/Makefile lib/AST/ASTDumper.cpp lib/AST/CMakeLists.txt test/Misc/ast-dump-attr.cpp test/Tooling/clang-check-ast-dump.cpp utils/TableGen/ClangAttrEmitter.cpp utils/TableGen/TableGen.cpp utils/TableGen/TableGenBackends.h

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 7 15:02:57 PST 2013


On Tue, Jan 8, 2013 at 1:00 AM, Philip Craig <philipjcraig at gmail.com> wrote:
> On 8 January 2013 05:10, Alexander Kornienko <alexfh at google.com> wrote:
>> Should be fixed in r171768.
>>
>> Thank you for noticing this!
>
> Thanks for the fix.
>
> Is there some way I should have been testing the build in order to
> enable that warning? I didn't see it in my cmake/ninja build.

To see this warning, use a recent clang as the compiler.

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