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 | 94008121fafecdf89f83a63249496e185bc9cd77 (patch) | |
tree | 5a97bc807e931785a2e9722743a18db748c4dc81 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 70e7e8718e14f8c29ff57c4c7e2fe07ad226ec36 (diff) | |
download | llvm-94008121fafecdf89f83a63249496e185bc9cd77.zip llvm-94008121fafecdf89f83a63249496e185bc9cd77.tar.gz llvm-94008121fafecdf89f83a63249496e185bc9cd77.tar.bz2 |
[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!
llvm-svn: 201702
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions