Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / unittests / ADT / SmallVectorTest.cpp
index 97ff90b78f02a82b5cf9ac6236354d7592ecdb28..46f7021ac165d537dcd1891e3f124aa782234ccb 100644 (file)
@@ -156,10 +156,7 @@ LLVM_ATTRIBUTE_USED void CompileTest() {
 
 class SmallVectorTestBase : public testing::Test {
 protected:
-
-  void SetUp() {
-    Constructable::reset();
-  }
+  void SetUp() override { Constructable::reset(); }
 
   template <typename VectorT>
   void assertEmpty(VectorT & v) {