]> granicus.if.org Git - clang/commitdiff
add a fixme.
authorZhongxing Xu <xuzhongxing@gmail.com>
Tue, 23 Jun 2009 02:08:56 +0000 (02:08 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Tue, 23 Jun 2009 02:08:56 +0000 (02:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73939 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionStore.cpp

index 427c231800138a6b7af5e100d7a4a803c3f88b00..4b598a384f300cb619281ba44882b81af601a349 100644 (file)
@@ -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;