From e1f12fadc0ce37def3fbf99373f315a3667c4766 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Tue, 11 Apr 2017 14:55:32 +0000 Subject: Remove unused functions. Remove static qualifier from functions in header files. NFC. llvm-svn: 299947 --- llvm/lib/Object/MachOObjectFile.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'llvm/lib/Object/MachOObjectFile.cpp') diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index f2c2aead5a9..1753d2baaed 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -106,13 +106,6 @@ static StringRef parseSegmentOrSectionName(const char *P) { return StringRef(P, 16); } -// Helper to advance a section or symbol iterator multiple increments at a time. -template -static void advance(T &it, size_t Val) { - while (Val--) - ++it; -} - static unsigned getCPUType(const MachOObjectFile &O) { return O.getHeader().cputype; } -- cgit v1.2.3