add a fixme.

llvm-svn: 73939
This commit is contained in:
Zhongxing Xu 2009-06-23 02:08:56 +00:00
parent 4c8da96ea9
commit 74fa0bc3de
1 changed files with 2 additions and 0 deletions

View 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;