Author: zhongxingxu
Date: Tue Oct 28 20:13:28 2008
New Revision: 58356

URL: http://llvm.org/viewvc/llvm-project?rev=58356&view=rev
Log:
MemSpaceRegions could be uninitialized. We only require R is a real region.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h?rev=58356&r1=58355&r2=58356&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h Tue Oct 28 
20:13:28 2008
@@ -420,7 +420,7 @@
   MemSpaceRegion* getUnknownRegion();
 
   bool isGlobalsRegion(const MemRegion* R) { 
-    assert(R && globals);
+    assert(R);
     return R == globals; 
   }
   


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to