Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / unittests / LineEditor / LineEditor.cpp
index cb115bd7dedb27a7662c7cf1bc6ad680ebb24346..4d9081fd5c201ee02ccefa53f16191b12ad7b407 100644 (file)
@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/LineEditor/LineEditor.h"
+#include "llvm/Support/FileSystem.h"
 #include "llvm/Support/Path.h"
 #include "gtest/gtest.h"
 
@@ -28,7 +29,7 @@ public:
     LE = new LineEditor("test", HistPath);
   }
 
-  ~LineEditorTest() {
+  ~LineEditorTest() override {
     delete LE;
     sys::fs::remove(HistPath.str());
   }