forked from OSchip/llvm-project
Remove redundant virtual on overriden functions.
llvm-svn: 222023
This commit is contained in:
parent
224e8c0943
commit
711cd9c53c
|
@ -42,7 +42,7 @@ public:
|
|||
ForwardControlFlowIntegrity(JumpTable::JumpTableType JTT,
|
||||
CFIntegrity CFIType,
|
||||
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
|
||||
/// question is the result of link-time optimization (see lib/LTO).
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
}
|
||||
private:
|
||||
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 void deleted() override { removeSelfFromCache(); }
|
||||
virtual void allUsesReplacedWith(Value *) override { removeSelfFromCache(); }
|
||||
void deleted() override { removeSelfFromCache(); }
|
||||
void allUsesReplacedWith(Value *) override { removeSelfFromCache(); }
|
||||
|
||||
private:
|
||||
CFLAliasAnalysis *CFLAA;
|
||||
|
|
|
@ -475,7 +475,7 @@ public:
|
|||
RewriteSymbols();
|
||||
RewriteSymbols(SymbolRewriter::RewriteDescriptorList &DL);
|
||||
|
||||
virtual bool runOnModule(Module &M) override;
|
||||
bool runOnModule(Module &M) override;
|
||||
|
||||
private:
|
||||
void loadAndParseMapFiles();
|
||||
|
|
Loading…
Reference in New Issue