]> granicus.if.org Git - clang/commit
[Static Analyzer] Warn when inner and outer conditions are identical. The inner condi...
authorDaniel Marjamaki <daniel.marjamaki@evidente.se>
Mon, 10 Aug 2015 07:18:29 +0000 (07:18 +0000)
committerDaniel Marjamaki <daniel.marjamaki@evidente.se>
Mon, 10 Aug 2015 07:18:29 +0000 (07:18 +0000)
commitf964188b2da25fd914451f76818658120e373786
tree0667b9c10cbb5a2f6d8ba86f5e984fa00168381d
parent8b16220e234c6028739a5186f3e9c39fa678b227
[Static Analyzer] Warn when inner and outer conditions are identical. The inner condition is always true.

Reviewed in http://reviews.llvm.org/D10892.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244435 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
test/Analysis/identical-expressions.cpp