Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / unittests / ExecutionEngine / MCJIT / MCJITTest.cpp
index 64d8c2fca042aedcc26478d8ccc0fe52a69d1aa5..94b9a6927b19b450241448ffc0f9ca2ec918304d 100644 (file)
@@ -22,7 +22,7 @@ namespace {
 
 class MCJITTest : public testing::Test, public MCJITTestBase {
 protected:
-  virtual void SetUp() { M.reset(createEmptyModule("<main>")); }
+  void SetUp() override { M.reset(createEmptyModule("<main>")); }
 };
 
 // FIXME: Ensure creating an execution engine does not crash when constructed