summaryrefslogtreecommitdiffstats
path: root/clang/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
commit2e8e604704be37cf42310727740b10e43d2e7739 (patch)
treee49b155480ca493a90b0132623de53526fcefe73 /clang/test/Analysis/array-struct.c
parent1db1b64e6e43b30c82b898ba704e16d2c0983cc9 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud