diff options
author | Jordy Rose <jediknil@belkadan.com> | 2011-06-16 07:13:34 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2011-06-16 07:13:34 +0000 |
commit | adc42d412d747391dbcee234610f00b0f087cf7b (patch) | |
tree | 6979bd907165dc5a5c140c55a1e8de54a98e53ad /lib/CodeGen/CodeGenModule.cpp | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions