acdbbc7811c6045a718669a8a0740488edbbbd66 |
|
06-Aug-2013 |
Richard Trieu <rtrieu@google.com> |
Add a new warning to -Wloop-analysis to detect suspicious increments or decrements inside for loops. Idea for this warning proposed in PR15636: http://llvm.org/bugs/show_bug.cgi?id=15636 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187817 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-loop-analysis.cpp
|
9087599e5ee64ecd30194b3d89f8748ac95c62f7 |
|
04-May-2012 |
Richard Trieu <rtrieu@google.com> |
Skip checking for infinite for-loops if there are global or static variables in the conditional. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156148 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-loop-analysis.cpp
|
82129e25c8d26d933771bc37aa0e0ed2edd131b4 |
|
03-May-2012 |
Richard Trieu <rtrieu@google.com> |
Add commas to for loop warning to separate variable names. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-loop-analysis.cpp
|
694e796f462748ab4dc7ecdf4be5da44dd2c8c94 |
|
30-Apr-2012 |
Richard Trieu <rtrieu@google.com> |
Add -Wloop-analysis. This warning will fire on for loops which the variables in the loop conditional do not change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-loop-analysis.cpp
|