summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-loop-analysis.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a new warning to -Wloop-analysis to detect suspicious increments orRichard Trieu2013-08-061-0/+108
| | | | | | | | decrements inside for loops. Idea for this warning proposed in PR15636: http://llvm.org/bugs/show_bug.cgi?id=15636 llvm-svn: 187817
* Skip checking for infinite for-loops if there are global or static variablesRichard Trieu2012-05-041-0/+8
| | | | | | in the conditional. llvm-svn: 156148
* Add commas to for loop warning to separate variable names.Richard Trieu2012-05-021-5/+5
| | | | llvm-svn: 156033
* Add -Wloop-analysis. This warning will fire on for loops which the variablesRichard Trieu2012-04-301-0/+146
in the loop conditional do not change. llvm-svn: 155835
OpenPOWER on IntegriCloud