Remove unused functions. Remove static qualifier from functions in header files. NFC.
llvm-svn: 299947
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user