summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-08-21 11:05:46 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-08-21 11:05:46 +0000
commit7a1a8e25ea8ef02a9131dc5c71def4fea64ab0ec (patch)
tree0137ba7af59af68d964d0991f7528fcfcece4093 /clang/lib
parente11f17f5edb67b504e8e54ac614f33b46e2f74ce (diff)
downloadbcm5719-llvm-7a1a8e25ea8ef02a9131dc5c71def4fea64ab0ec.tar.gz
bcm5719-llvm-7a1a8e25ea8ef02a9131dc5c71def4fea64ab0ec.zip
Remove dead code.
llvm-svn: 111736
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Checker/RegionStore.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/Checker/RegionStore.cpp b/clang/lib/Checker/RegionStore.cpp
index 484ed4bef18..c51a4c8c1d6 100644
--- a/clang/lib/Checker/RegionStore.cpp
+++ b/clang/lib/Checker/RegionStore.cpp
@@ -118,18 +118,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.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud