Remove unused functions. Remove static qualifier from functions in header files. NFC.

llvm-svn: 299947
This commit is contained in:
Vassil Vassilev
2017-04-11 14:55:32 +00:00
parent 5e39c44654
commit e1f12fadc0
9 changed files with 9 additions and 65 deletions

View File

@@ -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<class T>
static void advance(T &it, size_t Val) {
while (Val--)
++it;
}
static unsigned getCPUType(const MachOObjectFile &O) {
return O.getHeader().cputype;
}