[llvm] r208242 - Replace a virtual with an override.

Rafael Espindola rafael.espindola at gmail.com
Wed May 7 12:52:32 PDT 2014


Author: rafael
Date: Wed May  7 14:52:32 2014
New Revision: 208242

URL: http://llvm.org/viewvc/llvm-project?rev=208242&view=rev
Log:
Replace a virtual with an override.

Modified:
    llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?rev=208242&r1=208241&r2=208242&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp Wed May  7 14:52:32 2014
@@ -114,8 +114,8 @@ public:
     return Result;
   }
   int stubsAllocated;
-  virtual uint8_t *allocateStub(const GlobalValue* F, unsigned StubSize,
-                                unsigned Alignment) {
+  uint8_t *allocateStub(const GlobalValue *F, unsigned StubSize,
+                        unsigned Alignment) override {
     stubsAllocated++;
     return Base->allocateStub(F, StubSize, Alignment);
   }





More information about the llvm-commits mailing list