mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Fixing a few -Woverloaded-virtual warnings by exposing the hidden virtual function as well. No functional changes intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5fb3c84898
commit
75ba1b0ded
@ -83,6 +83,8 @@ namespace {
|
||||
CallGraphNode *DoPromotion(Function *F,
|
||||
SmallPtrSet<Argument*, 8> &ArgsToPromote,
|
||||
SmallPtrSet<Argument*, 8> &ByValArgsToTransform);
|
||||
|
||||
using llvm::Pass::doInitialization;
|
||||
bool doInitialization(CallGraph &CG) override;
|
||||
/// The maximum number of elements to expand, or 0 for unlimited.
|
||||
unsigned maxElements;
|
||||
|
@ -58,6 +58,8 @@ public:
|
||||
C(nullptr), DL(nullptr) {
|
||||
initializeSROAPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
|
||||
using llvm::Pass::doInitialization;
|
||||
bool doInitialization(Function &) override;
|
||||
bool runOnBasicBlock(BasicBlock &BB) override;
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const override;
|
||||
|
Loading…
Reference in New Issue
Block a user