]> granicus.if.org Git - clang/commit
Fix: <rdar://problem/6740387>. Sending nil to an object that returns a struct
authorTed Kremenek <kremenek@apple.com>
Wed, 1 Apr 2009 06:52:48 +0000 (06:52 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 1 Apr 2009 06:52:48 +0000 (06:52 +0000)
commitb930d7adb7cb7642c9c49b39df04ebd5cbfa713a
tree403e393ad9683ef16b8154dca8a1f0da89fa4228
parent03d9f34a96ea28eaa698cc779462a1ce1dc79105
Fix: <rdar://problem/6740387>. Sending nil to an object that returns a struct
should only be an error if that value is consumed. This fix was largely
accomplished by moving 'isConsumedExpr' back to ParentMap.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68195 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ParentMap.h
include/clang/Analysis/PathSensitive/GRExprEngine.h
lib/AST/ParentMap.cpp
lib/Analysis/CheckDeadStores.cpp
lib/Analysis/GRExprEngine.cpp
test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m