[cfe-commits] r110032 - /cfe/trunk/include/clang/Checker/PathSensitive/MemRegion.h

Argyrios Kyrtzidis akyrtzi at gmail.com
Mon Aug 2 00:24:29 PDT 2010


Author: akirtzidis
Date: Mon Aug  2 02:24:29 2010
New Revision: 110032

URL: http://llvm.org/viewvc/llvm-project?rev=110032&view=rev
Log:
Shut up warnings in Release build.

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

Modified: cfe/trunk/include/clang/Checker/PathSensitive/MemRegion.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Checker/PathSensitive/MemRegion.h?rev=110032&r1=110031&r2=110032&view=diff
==============================================================================
--- cfe/trunk/include/clang/Checker/PathSensitive/MemRegion.h (original)
+++ cfe/trunk/include/clang/Checker/PathSensitive/MemRegion.h Mon Aug  2 02:24:29 2010
@@ -296,6 +296,7 @@
   /// Compute the offset within the top level memory object.
   virtual RegionOffset getAsOffset() const {
     assert(0 && "unimplemented");
+    return RegionOffset(NULL);
   }
 
   MemRegionManager* getMemRegionManager() const;





More information about the cfe-commits mailing list