]> granicus.if.org Git - clang/commit
[analyzer] Equality ops are like relational ops in that the arguments shouldn't be...
authorJordy Rose <jediknil@belkadan.com>
Thu, 3 May 2012 07:34:01 +0000 (07:34 +0000)
committerJordy Rose <jediknil@belkadan.com>
Thu, 3 May 2012 07:34:01 +0000 (07:34 +0000)
commit14d20b1dff6370f76279fcfb0fd780e2e5eb57bb
treec78c9f29ea42822e57660f4252dfb82bb2c3d893
parent9e607dd1dff375b4fa33d923ed592dad3ad43d42
[analyzer] Equality ops are like relational ops in that the arguments shouldn't be converted to the result type. Fixes PR12206 and dupe PR12510.

This was probably the original intent of r133041 (also me, a year ago).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156062 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
test/Analysis/additive-folding.cpp [moved from test/Analysis/additive-folding.c with 71% similarity]
test/Analysis/string.c