commit | adc42d412d747391dbcee234610f00b0f087cf7b | [log] [tgz] |
---|---|---|
author | Jordy Rose <jediknil@belkadan.com> | Thu Jun 16 07:13:34 2011 +0000 |
committer | Jordy Rose <jediknil@belkadan.com> | Thu Jun 16 07:13:34 2011 +0000 |
tree | 6979bd907165dc5a5c140c55a1e8de54a98e53ad | |
parent | b11382497a923b0d7009e85a1d8eb7bf93ec6d0d [diff] |
[analyzer] Clean up modeling of strcmp, including cases where a string literal has an embedded null character, and where both arguments are the same buffer. Also use nested ifs rather than early returns; in this case early returns will lose any assumptions we've made earlier in the function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133154 91177308-0d34-0410-b5e6-96231b3b80d8