[PATCH] D136665: [ObjCARC][NFC] Fix defined but not used warning from D135041
Liao Chunyu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 00:02:23 PDT 2022
liaolucy created this revision.
liaolucy added reviewers: aeubanks, asbirlea.
Herald added a subscriber: hiraditya.
Herald added a project: All.
liaolucy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136665
Files:
llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Index: llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
===================================================================
--- llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+++ llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
@@ -574,7 +574,6 @@
public:
void init(Module &M);
bool run(Function &F, AAResults &AA);
- void releaseMemory();
bool hasCFGChanged() const { return CFGChanged; }
};
} // end anonymous namespace
@@ -2483,10 +2482,6 @@
return Changed;
}
-void ObjCARCOpt::releaseMemory() {
- PA.clear();
-}
-
/// @}
///
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136665.470386.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221025/ad361111/attachment.bin>
More information about the llvm-commits
mailing list