OSDN Git Service

Fix --Wunused-function.
authorRui Ueyama <ruiu@google.com>
Thu, 26 Jan 2017 02:03:58 +0000 (02:03 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 26 Jan 2017 02:03:58 +0000 (02:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293131 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-pdbdump/LLVMOutputStyle.cpp

index d0ea22e..2171bd4 100644 (file)
@@ -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: