mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Adds 'override' to overriding methods. NFC.
llvm-svn: 218815
This commit is contained in:
parent
54cba461be
commit
8575c06fb9
@ -185,7 +185,7 @@ public:
|
|||||||
|
|
||||||
virtual ~CFLAliasAnalysis() {}
|
virtual ~CFLAliasAnalysis() {}
|
||||||
|
|
||||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
void getAnalysisUsage(AnalysisUsage &AU) const override {
|
||||||
AliasAnalysis::getAnalysisUsage(AU);
|
AliasAnalysis::getAnalysisUsage(AU);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ public:
|
|||||||
ObjMap[ModuleID] = copyBuffer(Obj);
|
ObjMap[ModuleID] = copyBuffer(Obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual std::unique_ptr<MemoryBuffer> getObject(const Module* M) {
|
virtual std::unique_ptr<MemoryBuffer> getObject(const Module* M) override {
|
||||||
const MemoryBuffer* BufferFound = getObjectInternal(M);
|
const MemoryBuffer* BufferFound = getObjectInternal(M);
|
||||||
ModulesLookedUp.insert(M->getModuleIdentifier());
|
ModulesLookedUp.insert(M->getModuleIdentifier());
|
||||||
if (!BufferFound)
|
if (!BufferFound)
|
||||||
|
Loading…
Reference in New Issue
Block a user