This is an archive of the discontinued LLVM Phabricator instance.

[ObjCARC][NFC] Fix defined but not used warning from D135041
ClosedPublic

Authored by liaolucy on Oct 25 2022, 12:02 AM.

Diff Detail

Event Timeline

liaolucy created this revision.Oct 25 2022, 12:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 25 2022, 12:02 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
liaolucy requested review of this revision.Oct 25 2022, 12:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 25 2022, 12:02 AM

try to fix defined but not used warning from D135041
llvm-project/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp:2486:6: warning: ‘void {anonymous}::ObjCARCOpt::releaseMemory()’ defined but not used [-Wunused-function]
2486 | void ObjCARCOpt::releaseMemory() {

|      ^~~~~~~~~~
MaskRay accepted this revision.Oct 25 2022, 12:15 AM
MaskRay added a subscriber: MaskRay.

LGTM.

This revision is now accepted and ready to land.Oct 25 2022, 12:15 AM
This revision was landed with ongoing or failed builds.Oct 25 2022, 12:16 AM
This revision was automatically updated to reflect the committed changes.