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 | 74fa0bc3deba85515ba650ee075310507c380b19 (patch) | |
| tree | 8e0b36cdadaf5f27842ad4f35085e650f27ddfd9 /clang/lib/Analysis/RegionStore.cpp | |
| parent | 4c8da96ea9ca4baeefbcf425fda253d3bfb693b9 (diff) | |
| download | bcm5719-llvm-74fa0bc3deba85515ba650ee075310507c380b19.tar.gz bcm5719-llvm-74fa0bc3deba85515ba650ee075310507c380b19.zip | |
add a fixme.
llvm-svn: 73939
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
| -rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 427c2318001..4b598a384f3 100644 --- a/clang/lib/Analysis/RegionStore.cpp +++ b/clang/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; |

