[PATCH] D135041: [ObjCARC] Remove legacy PM versions of optimization passes
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 24 22:05:40 PDT 2022
uabelho added inline comments.
================
Comment at: llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp:2486
void ObjCARCOpt::releaseMemory() {
PA.clear();
----------------
Looks like this method is unused after this patch.
gcc warns with
```
00:13:01 ../lib/Transforms/ObjCARC/ObjCARCOpts.cpp:2486:6: warning: 'void {anonymous}::ObjCARCOpt::releaseMemory()' defined but not used [-Wunused-function]
00:13:01 2486 | void ObjCARCOpt::releaseMemory() {
00:13:01 | ^~~~~~~~~~
```
Can we remove it or is will it be used somewhere?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135041/new/
https://reviews.llvm.org/D135041
More information about the llvm-commits
mailing list