Skip to content

Commit

Permalink
[ObjCARC][NFC] Fix defined but not used warning from D135041
Browse files Browse the repository at this point in the history
Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D136665
  • Loading branch information
ChunyuLiao committed Oct 25, 2022
1 parent a704782 commit e6c8418
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Expand Up @@ -574,7 +574,6 @@ class ObjCARCOpt {
public:
void init(Module &M);
bool run(Function &F, AAResults &AA);
void releaseMemory();
bool hasCFGChanged() const { return CFGChanged; }
};
} // end anonymous namespace
Expand Down Expand Up @@ -2483,10 +2482,6 @@ bool ObjCARCOpt::run(Function &F, AAResults &AA) {
return Changed;
}

void ObjCARCOpt::releaseMemory() {
PA.clear();
}

/// @}
///

Expand Down

0 comments on commit e6c8418

Please sign in to comment.