diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2014-02-19 17:44:16 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2014-02-19 17:44:16 +0000 |
| commit | 2eae2903cfa0c5bf185b0ff8b90b5c95a0bc2f9e (patch) | |
| tree | 0254457ebbc27b79fdab1b2e8eab6103d99277d6 /lib/Serialization/ModuleManager.cpp | |
| parent | f460d79f9854763df2377f0909ab2999aa78d013 (diff) | |
| download | clang-2eae2903cfa0c5bf185b0ff8b90b5c95a0bc2f9e.tar.gz clang-2eae2903cfa0c5bf185b0ff8b90b5c95a0bc2f9e.tar.bz2 clang-2eae2903cfa0c5bf185b0ff8b90b5c95a0bc2f9e.tar.xz | |
[analyzer] Extend IdenticalExprChecker to check logical and bitwise expressions.
IdenticalExprChecker now warns if any expressions in a logical or bitwise
chain (&&, ||, &, |, or ^) are the same. Unlike the previous patch, this
actually checks all subexpressions against each other (an O(N^2) operation,
but N is likely to be small).
Patch by Daniel Fahlgren!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
