Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / unittests / Support / CommandLineTest.cpp
index 9d7679da511c5b2addd7062f2618a8ba229e9a9f..328c4b7fcf300193b19e01a824fa70a4d3d4a90d 100644 (file)
@@ -65,9 +65,7 @@ public:
   StackOption(const M0t &M0, const M1t &M1, const M2t &M2, const M3t &M3)
     : Base(M0, M1, M2, M3) {}
 
-  ~StackOption() {
-    this->removeArgument();
-  }
+  ~StackOption() override { this->removeArgument(); }
 };