Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / unittests / Analysis / ScalarEvolutionTest.cpp
index 876a2644b3a8036e84e7e730b570d65c38fdb882..6ce7ff43a312f95ee18fa01852eaa233b9473ad5 100644 (file)
@@ -25,7 +25,7 @@ namespace {
 class ScalarEvolutionsTest : public testing::Test {
 protected:
   ScalarEvolutionsTest() : M("", Context), SE(*new ScalarEvolution) {}
-  ~ScalarEvolutionsTest() {
+  ~ScalarEvolutionsTest() override {
     // Manually clean up, since we allocated new SCEV objects after the
     // pass was finished.
     SE.releaseMemory();