[llvm] r293131 - Fix --Wunused-function.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 18:03:59 PST 2017


Author: ruiu
Date: Wed Jan 25 20:03:58 2017
New Revision: 293131

URL: http://llvm.org/viewvc/llvm-project?rev=293131&view=rev
Log:
Fix --Wunused-function.

Modified:
    llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp

Modified: llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp?rev=293131&r1=293130&r2=293131&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp Wed Jan 25 20:03:58 2017
@@ -505,11 +505,6 @@ Error LLVMOutputStyle::dumpInfoStream()
   return Error::success();
 }
 
-static void printTypeIndexOffset(raw_ostream &OS,
-                                 const TypeIndexOffset &TIOff) {
-  OS << "{" << TIOff.Type.getIndex() << ", " << TIOff.Offset << "}";
-}
-
 namespace {
 class RecordBytesVisitor : public TypeVisitorCallbacks {
 public:




More information about the llvm-commits mailing list