]> granicus.if.org Git - clang/commitdiff
Remove dead code.
authorZhongxing Xu <xuzhongxing@gmail.com>
Sat, 21 Aug 2010 11:05:46 +0000 (11:05 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sat, 21 Aug 2010 11:05:46 +0000 (11:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111736 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Checker/RegionStore.cpp

index 484ed4bef18d9bf7d9ad1bfe7bc14c6df3adbdaf..c51a4c8c1d63c8762600016778381f0e92a764ab 100644 (file)
@@ -117,18 +117,6 @@ public:
 };
 }
 
-//===----------------------------------------------------------------------===//
-// 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.
 //===----------------------------------------------------------------------===//