From cfbb8a788eaea3f4bd294efbe70683d582345c8a Mon Sep 17 00:00:00 2001 From: Amaury Sechet Date: Thu, 21 Apr 2016 22:17:39 +0000 Subject: [PATCH] Remove dead code. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267069 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/PDB/Raw/PDBFile.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/DebugInfo/PDB/Raw/PDBFile.cpp b/lib/DebugInfo/PDB/Raw/PDBFile.cpp index e927b60a447..fc5231f552b 100644 --- a/lib/DebugInfo/PDB/Raw/PDBFile.cpp +++ b/lib/DebugInfo/PDB/Raw/PDBFile.cpp @@ -66,10 +66,6 @@ std::error_code checkOffset(MemoryBufferRef M, ArrayRef AR) { return checkOffset(M, uintptr_t(AR.data()), (uint64_t)AR.size() * sizeof(T)); } -std::error_code checkOffset(MemoryBufferRef M, StringRef SR) { - return checkOffset(M, uintptr_t(SR.data()), SR.size()); -} - uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { return alignTo(NumBytes, BlockSize) / BlockSize; } -- 2.11.0