[llvm] r267069 - Remove dead code. NFC
Amaury Sechet via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 15:17:39 PDT 2016
Author: deadalnix
Date: Thu Apr 21 17:17:39 2016
New Revision: 267069
URL: http://llvm.org/viewvc/llvm-project?rev=267069&view=rev
Log:
Remove dead code. NFC
Modified:
llvm/trunk/lib/DebugInfo/PDB/Raw/PDBFile.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/Raw/PDBFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Raw/PDBFile.cpp?rev=267069&r1=267068&r2=267069&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Raw/PDBFile.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Raw/PDBFile.cpp Thu Apr 21 17:17:39 2016
@@ -66,10 +66,6 @@ std::error_code checkOffset(MemoryBuffer
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;
}
More information about the llvm-commits
mailing list