Skip to content
Commit 2e8e6047 authored by Zhongxing Xu's avatar Zhongxing Xu
Browse files

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
parent 1db1b64e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment