diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-23 02:08:56 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-23 02:08:56 +0000 |
commit | 83298da65412ac607efe22664fdb51e05e3ae960 (patch) | |
tree | fa041147d703b61f05dd5c1a066fa2003e8e529c /lib/Analysis/RegionStore.cpp | |
parent | d6bebbfd510f3b495795b88aafd10ead3cb211e9 (diff) |
add a fixme.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 427c231800..4b598a384f 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -1171,6 +1171,8 @@ RegionStoreManager::BindStruct(const GRState *state, const TypedRegion* R, // There may be fewer values than fields only when we are initializing a // struct decl. In this case, mark the region as having default value. if (VI == VE) { + // FIXME: We should bind signed/unsigned 0 according to the sign of the + // field type. const NonLoc& Idx = NonLoc::MakeIntVal(getBasicVals(), 0, false); state = state->set<RegionDefaultValue>(R, Idx); break; |