diff options
| author | DeLesley Hutchins <delesley@google.com> | 2013-10-09 18:30:24 +0000 |
|---|---|---|
| committer | DeLesley Hutchins <delesley@google.com> | 2013-10-09 18:30:24 +0000 |
| commit | 7385840b600d0e4a96d75042f612f6430e4a0390 (patch) | |
| tree | bf2ac3359b2da0d5cf5854d9a87037b31648e1f8 /lib/CodeGen/CGExpr.cpp | |
| parent | d4099c3348589e845f9f4666fb0b8ef9b7a4a796 (diff) | |
| download | clang-7385840b600d0e4a96d75042f612f6430e4a0390.tar.gz clang-7385840b600d0e4a96d75042f612f6430e4a0390.tar.bz2 clang-7385840b600d0e4a96d75042f612f6430e4a0390.tar.xz | |
Consumed analysis: improve loop handling. The prior version of the analysis
marked all variables as "unknown" at the start of a loop. The new version
keeps the initial state of variables unchanged, but issues a warning if the
state at the end of the loop is different from the state at the beginning.
This patch will eventually be replaced with a more precise analysis.
Initial patch by chris.wailes@gmail.com. Reviewed and edited by
delesley@google.com.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
