[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:16:49 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe6c8418aab0b: [ObjCARC][NFC] Fix defined but not used warning from D135041 (authored by liaolucy).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136665/new/

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.470387.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221025/ea5f7fe5/attachment.bin>


More information about the llvm-commits mailing list