Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / unittests / Support / MemoryBufferTest.cpp
index 1cdd6adbf8ba3aec52716eb6e8875636e497bbb9..ffb809aa207b2157948e593159a35d90d3bdf052 100644 (file)
@@ -26,7 +26,7 @@ protected:
   : data("this is some data")
   { }
 
-  virtual void SetUp() { }
+  void SetUp() override {}
 
   /// Common testing for different modes of getOpenFileSlice.
   /// Creates a temporary file with known contents, and uses