Invert isSafeToGetMallocArraySize check because we return NULL when we don't know...
authorVictor Hernandez <vhernandez@apple.com>
Fri, 16 Oct 2009 18:08:17 +0000 (18:08 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Fri, 16 Oct 2009 18:08:17 +0000 (18:08 +0000)
commit136526ce2d2ea86450f4205e20f3fda24ac16a5b
tree24b4f1046ddd111dbba38b3d0e75d948522f729f
parent3a73bb38ba4ab88f5013bff3fa0584dce2fa9336
Invert isSafeToGetMallocArraySize check because we return NULL when we don't know the size.

Thanks to Duncan Sands for noticing this bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84261 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MallocHelper.cpp