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 | a6839aaa9bd7c75665263a558796d9d10ec89442 (patch) | |
tree | 531b63fb09b9380d52fcc43230fa855cb74dc4a1 /llvm/lib/Support/LockFileManager.cpp | |
parent | b70830612848919416ec1058b2724956e5dd39b5 (diff) | |
download | llvm-a6839aaa9bd7c75665263a558796d9d10ec89442.zip llvm-a6839aaa9bd7c75665263a558796d9d10ec89442.tar.gz llvm-a6839aaa9bd7c75665263a558796d9d10ec89442.tar.bz2 |
[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!
llvm-svn: 203585
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions