diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-08 08:27:28 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-08 08:27:28 +0000 |
commit | e56917c0caad30fe9c6225968c0b47673fd2e7ad (patch) | |
tree | dfce5a1755ece871dce2f4a2941f893ab5a08542 /llvm/tools/lli/lli.cpp | |
parent | b51ff603eae8cd286d6e66d52e66261010d6ab70 (diff) | |
download | bcm5719-llvm-e56917c0caad30fe9c6225968c0b47673fd2e7ad.tar.gz bcm5719-llvm-e56917c0caad30fe9c6225968c0b47673fd2e7ad.zip |
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203345
Diffstat (limited to 'llvm/tools/lli/lli.cpp')
-rw-r--r-- | llvm/tools/lli/lli.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index a9125a48b8f..c0c0f9d2b2d 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -262,7 +262,7 @@ public: } virtual ~LLIObjectCache() {} - virtual void notifyObjectCompiled(const Module *M, const MemoryBuffer *Obj) { + void notifyObjectCompiled(const Module *M, const MemoryBuffer *Obj) override { const std::string ModuleID = M->getModuleIdentifier(); std::string CacheName; if (!getCacheFilename(ModuleID, CacheName)) @@ -278,7 +278,7 @@ public: outfile.close(); } - virtual MemoryBuffer* getObject(const Module* M) { + MemoryBuffer* getObject(const Module* M) override { const std::string ModuleID = M->getModuleIdentifier(); std::string CacheName; if (!getCacheFilename(ModuleID, CacheName)) |