1
0
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:
Argyrios Kyrtzidis 2014-10-01 21:00:44 +00:00
parent 54cba461be
commit 8575c06fb9
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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)