Author: akirtzidis
Date: Mon Aug  2 02:31:21 2010
New Revision: 110033

URL: http://llvm.org/viewvc/llvm-project?rev=110033&view=rev
Log:
Use llvm_unreachable.

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=110033&r1=110032&r2=110033&view=diff
==============================================================================
--- cfe/trunk/include/clang/Checker/PathSensitive/MemRegion.h (original)
+++ cfe/trunk/include/clang/Checker/PathSensitive/MemRegion.h Mon Aug  2 
02:31:21 2010
@@ -295,8 +295,7 @@
 
   /// Compute the offset within the top level memory object.
   virtual RegionOffset getAsOffset() const {
-    assert(0 && "unimplemented");
-    return RegionOffset(NULL);
+    llvm_unreachable("unimplemented");
   }
 
   MemRegionManager* getMemRegionManager() const;


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

Reply via email to