mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 01:48:34 +00:00
Remove redundant virtual on overriden functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222023 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6bc59dcccb
commit
7ffaebf9da
@ -42,7 +42,7 @@ public:
|
|||||||
ForwardControlFlowIntegrity(JumpTable::JumpTableType JTT,
|
ForwardControlFlowIntegrity(JumpTable::JumpTableType JTT,
|
||||||
CFIntegrity CFIType,
|
CFIntegrity CFIType,
|
||||||
bool CFIEnforcing, std::string CFIFuncName);
|
bool CFIEnforcing, std::string CFIFuncName);
|
||||||
virtual ~ForwardControlFlowIntegrity() override;
|
~ForwardControlFlowIntegrity() override;
|
||||||
|
|
||||||
/// Runs the CFI pass on a given module. This works best if the module in
|
/// Runs the CFI pass on a given module. This works best if the module in
|
||||||
/// question is the result of link-time optimization (see lib/LTO).
|
/// question is the result of link-time optimization (see lib/LTO).
|
||||||
|
@ -61,7 +61,7 @@ public:
|
|||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints;
|
std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints;
|
||||||
virtual void anchor() override;
|
void anchor() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -157,8 +157,8 @@ struct FunctionHandle : public CallbackVH {
|
|||||||
|
|
||||||
virtual ~FunctionHandle() {}
|
virtual ~FunctionHandle() {}
|
||||||
|
|
||||||
virtual void deleted() override { removeSelfFromCache(); }
|
void deleted() override { removeSelfFromCache(); }
|
||||||
virtual void allUsesReplacedWith(Value *) override { removeSelfFromCache(); }
|
void allUsesReplacedWith(Value *) override { removeSelfFromCache(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CFLAliasAnalysis *CFLAA;
|
CFLAliasAnalysis *CFLAA;
|
||||||
|
@ -475,7 +475,7 @@ public:
|
|||||||
RewriteSymbols();
|
RewriteSymbols();
|
||||||
RewriteSymbols(SymbolRewriter::RewriteDescriptorList &DL);
|
RewriteSymbols(SymbolRewriter::RewriteDescriptorList &DL);
|
||||||
|
|
||||||
virtual bool runOnModule(Module &M) override;
|
bool runOnModule(Module &M) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void loadAndParseMapFiles();
|
void loadAndParseMapFiles();
|
||||||
|
Loading…
Reference in New Issue
Block a user