Skip to content

Commit 66e59ac

Browse files
committed
[LLD][MachO][NFC] Remove unused function
1 parent 74fb992 commit 66e59ac

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lld/MachO/ObjC.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,6 @@ class ObjcCategoryMerger {
442442
PointerListInfo &ptrList,
443443
SourceLanguage sourceLang);
444444

445-
PointerListInfo parseProtocolListInfo(const ConcatInputSection *isec,
446-
uint32_t secOffset,
447-
SourceLanguage sourceLang);
448-
449445
bool parsePointerListInfo(const ConcatInputSection *isec, uint32_t secOffset,
450446
PointerListInfo &ptrList);
451447

@@ -719,16 +715,6 @@ void ObjcCategoryMerger::parseProtocolListInfo(
719715
"Protocol list end offset does not match expected size");
720716
}
721717

722-
// Parse a protocol list and return the PointerListInfo for it
723-
ObjcCategoryMerger::PointerListInfo
724-
ObjcCategoryMerger::parseProtocolListInfo(const ConcatInputSection *isec,
725-
uint32_t secOffset,
726-
SourceLanguage sourceLang) {
727-
PointerListInfo ptrList;
728-
parseProtocolListInfo(isec, secOffset, ptrList, sourceLang);
729-
return ptrList;
730-
}
731-
732718
// Parse a pointer list that might be linked to ConcatInputSection at a given
733719
// offset. This can be used for instance methods, class methods, instance props
734720
// and class props since they have the same format.

0 commit comments

Comments
 (0)