[llvm] r258633 - ObjectTransformLayerTest.cpp: Fix a warning. [-Winconsistent-missing-override]

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 23 12:45:50 PST 2016


Author: chapuni
Date: Sat Jan 23 14:45:50 2016
New Revision: 258633

URL: http://llvm.org/viewvc/llvm-project?rev=258633&view=rev
Log:
ObjectTransformLayerTest.cpp: Fix a warning. [-Winconsistent-missing-override]

Modified:
    llvm/trunk/unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp?rev=258633&r1=258632&r2=258633&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp Sat Jan 23 14:45:50 2016
@@ -301,7 +301,7 @@ TEST(ObjectTransformLayerTest, Main) {
       }
       void registerEHFrames(uint8_t *, uint64_t, size_t) override {}
       void deregisterEHFrames(uint8_t *, uint64_t, size_t) override {}
-      bool finalizeMemory(std::string *) { return false; }
+      virtual bool finalizeMemory(std::string *) { return false; }
     };
 
     // Construct the jit layers.




More information about the llvm-commits mailing list