diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-02 12:13:30 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-02 12:13:30 +0000 |
commit | 2e8e604704be37cf42310727740b10e43d2e7739 (patch) | |
tree | e49b155480ca493a90b0132623de53526fcefe73 /clang/test/Analysis/array-struct.c | |
parent | 1db1b64e6e43b30c82b898ba704e16d2c0983cc9 (diff) | |
download | bcm5719-llvm-2e8e604704be37cf42310727740b10e43d2e7739.tar.gz bcm5719-llvm-2e8e604704be37cf42310727740b10e43d2e7739.zip |
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.
llvm-svn: 58564
Diffstat (limited to 'clang/test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions