[cfe-commits] r73939 - /cfe/trunk/lib/Analysis/RegionStore.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Mon Jun 22 19:08:56 PDT 2009
Author: zhongxingxu
Date: Mon Jun 22 21:08:56 2009
New Revision: 73939
URL: http://llvm.org/viewvc/llvm-project?rev=73939&view=rev
Log:
add a fixme.
Modified:
cfe/trunk/lib/Analysis/RegionStore.cpp
Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=73939&r1=73938&r2=73939&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Mon Jun 22 21:08:56 2009
@@ -1171,6 +1171,8 @@
// 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;
More information about the cfe-commits
mailing list