mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-18 06:38:41 +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,
|
CallGraphNode *DoPromotion(Function *F,
|
||||||
SmallPtrSet<Argument*, 8> &ArgsToPromote,
|
SmallPtrSet<Argument*, 8> &ArgsToPromote,
|
||||||
SmallPtrSet<Argument*, 8> &ByValArgsToTransform);
|
SmallPtrSet<Argument*, 8> &ByValArgsToTransform);
|
||||||
|
|
||||||
|
using llvm::Pass::doInitialization;
|
||||||
bool doInitialization(CallGraph &CG) override;
|
bool doInitialization(CallGraph &CG) override;
|
||||||
/// The maximum number of elements to expand, or 0 for unlimited.
|
/// The maximum number of elements to expand, or 0 for unlimited.
|
||||||
unsigned maxElements;
|
unsigned maxElements;
|
||||||
|
@ -58,6 +58,8 @@ public:
|
|||||||
C(nullptr), DL(nullptr) {
|
C(nullptr), DL(nullptr) {
|
||||||
initializeSROAPass(*PassRegistry::getPassRegistry());
|
initializeSROAPass(*PassRegistry::getPassRegistry());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using llvm::Pass::doInitialization;
|
||||||
bool doInitialization(Function &) override;
|
bool doInitialization(Function &) override;
|
||||||
bool runOnBasicBlock(BasicBlock &BB) override;
|
bool runOnBasicBlock(BasicBlock &BB) override;
|
||||||
void getAnalysisUsage(AnalysisUsage &AU) const override;
|
void getAnalysisUsage(AnalysisUsage &AU) const override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user