[llvm][NFC] Add missing 'override'
authorLogan Smith <logan.r.smith0@gmail.com>
Sun, 19 Jul 2020 16:35:29 +0000 (09:35 -0700)
committerLogan Smith <logan.r.smith0@gmail.com>
Sun, 19 Jul 2020 16:57:14 +0000 (09:57 -0700)
llvm/tools/llvm-rc/ResourceScriptStmt.h

index 7076eca..b772732 100644 (file)
@@ -289,7 +289,9 @@ public:
       : RCResource(Flags),
         OptStatements(std::make_unique<OptionalStmtList>(std::move(Stmts))) {}
 
-  virtual Error applyStmts(Visitor *V) const { return OptStatements->visit(V); }
+  Error applyStmts(Visitor *V) const override {
+    return OptStatements->visit(V);
+  }
 };
 
 // LANGUAGE statement. It can occur both as a top-level statement (in such