diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2014-03-11 16:52:29 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2014-03-11 16:52:29 +0000 |
| commit | 22cc9b0c3b3413d3b8e81ef06415560c8a5e795e (patch) | |
| tree | 0a31cf486865c5879d9b8f74dfeacdbaf76ae0ac /lib/CodeGen/ModuleBuilder.cpp | |
| parent | 0c1843b3dac3db7325213632b75ccb30b6f2134c (diff) | |
| download | clang-22cc9b0c3b3413d3b8e81ef06415560c8a5e795e.tar.gz clang-22cc9b0c3b3413d3b8e81ef06415560c8a5e795e.tar.bz2 clang-22cc9b0c3b3413d3b8e81ef06415560c8a5e795e.tar.xz | |
[analyzer] Check all conditions in a chained if against each other.
Like the binary operator check of r201702, this actually checks the
condition of every if in a chain against every other condition, an
O(N^2) operation. In most cases N should be small enough to make this
practical, and checking all cases like this makes it much more likely
to catch a copy-paste error within the same series of branches.
Part of IdenticalExprChecker; patch by Daniel Fahlgren!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
