[cfe-commits] r155835 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaStmt.cpp test/SemaCXX/warn-loop-analysis.cpp

Richard Trieu rtrieu at google.com
Tue May 1 16:09:06 PDT 2012


Clang and LLVM have been tested with this warning.  Neither triggered it so
no cleanup should be required to turn this on for the builds.

On Tue, May 1, 2012 at 10:27 AM, Ted Kremenek <kremenek at apple.com> wrote:

> So that we get some living-on for this warning, should we enable it for
> LLVM builds (in both configure and CMake)?
>
> On Apr 30, 2012, at 11:01 AM, Richard Trieu <rtrieu at google.com> wrote:
>
> URL: http://llvm.org/viewvc/llvm-project?rev=155835&view=rev
> Log:
> Add -Wloop-analysis.  This warning will fire on for loops which the
> variables
> in the loop conditional do not change.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120501/1ace9f39/attachment.html>


More information about the cfe-commits mailing list