LoopInfo::isAnalysis() unused?


I was looking at the LoopInfo Analysis pass as an example, and found it
defined the isAnalysis() method to return true. I assumed the method was
overriden from some superclass (Pass, probably) and present in all analysis

However, a better look turns out that the method isn't really used anywhere.
PassInfo does define the same method which is used, but PassInfo is not a
superclass of LoopInfo. AFAICS, LoopInfo::isAnalysis
(include/llvm/Analysis/LoopInfo.h:924) is unused and can/should be removed?

Removing the method doesn't break compilation for me.



Yes. I removed it. Thanks!