[cfe-commits] r111736 - /cfe/trunk/lib/Checker/RegionStore.cpp

Zhongxing Xu xuzhongxing at gmail.com
Sat Aug 21 04:05:46 PDT 2010


Author: zhongxingxu
Date: Sat Aug 21 06:05:46 2010
New Revision: 111736

URL: http://llvm.org/viewvc/llvm-project?rev=111736&view=rev
Log:
Remove dead code.

Modified:
    cfe/trunk/lib/Checker/RegionStore.cpp

Modified: cfe/trunk/lib/Checker/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/RegionStore.cpp?rev=111736&r1=111735&r2=111736&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/RegionStore.cpp (original)
+++ cfe/trunk/lib/Checker/RegionStore.cpp Sat Aug 21 06:05:46 2010
@@ -118,18 +118,6 @@
 }
 
 //===----------------------------------------------------------------------===//
-// Utility functions.
-//===----------------------------------------------------------------------===//
-
-static bool IsAnyPointerOrIntptr(QualType ty, ASTContext &Ctx) {
-  if (ty->isAnyPointerType())
-    return true;
-
-  return ty->isIntegerType() && ty->isScalarType() &&
-         Ctx.getTypeSize(ty) == Ctx.getTypeSize(Ctx.VoidPtrTy);
-}
-
-//===----------------------------------------------------------------------===//
 // Main RegionStore logic.
 //===----------------------------------------------------------------------===//
 





More information about the cfe-commits mailing list