"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "a54f110e0e5ee9cb74bbc925013598d997e35177"
[Inliner][NFC] silence gcc 'overloaded-virtual' warning on hiding of Pass::doInitialization
When compiling with -Werror=overloaded-virtual, gcc emits this: ==== llvm/include/llvm/Pass.h:102:16: error: ‘virtual bool llvm::Pass::doInitialization(llvm::Module&)’ was hidden [-Werror=overloaded-virtual] virtual bool doInitialization(Module &) { return false; } ^~~~~~~~~~~~~~~~ In file included from llvm/lib/Transforms/IPO/Inliner.cpp:20:0: llvm/include/llvm/Transforms/IPO/Inliner.h:38:8: error: by ‘virtual bool llvm::LegacyInlinerBase::doInitialization(llvm::CallGraph&)’ [-Werror=overloaded-virtual] bool doInitialization(CallGraph &CG) override; ^~~~~~~~~~~~~~~~ ==== This is an old issue which has just started biting our downstream after a slight rearrangement of includes around Inliner. Fixing it similar to how doFinalization was done years ago.
Loading
Please register or sign in to comment