aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/array-struct.c
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-11-02 12:13:30 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-11-02 12:13:30 +0000
commitd463d44c6a1c8d6682419aaa9b7eee6ebed62e09 (patch)
tree5908f890aa9dd0864173d27f3e400cb318bbc723 /test/Analysis/array-struct.c
parent3cab2b1c3798f2a6aa3526875801a02aebf6fc1d (diff)
1. When a pointer to struct is used as an argument, GRSimpleVals::EvalCall()
sets the whole struct to Unknown. Then we cannot assume the V passed to BindStruct() is always a CompoundVal. When it is an UnknownVal, we call BindStructToVal(UnknownVal). 2. Change the signature of InitializeStructToUndefined() to BindStructToVal() to reuse the code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions